LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2012, 07:03 PM   #1
ubuntunew
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Exclamation I can't boot my Ubuntu 9.10


Hello,
I am very new to the ubuntu 9.10. This machine was dell 745 and installed ubuntu 91.0 on it. I accidentally deleted lots of files like /bin/partition etc.I wanted to delete the Fog cloning software I installed and deleted mysql database(this was intentional).After that I could not boot my machine. I tried boot loader cd but nothing helped. I can't see any partition. I have live cd ubuntu 9.10. I booted from cd and selected not to installed on HD drive. I took terminal and tried to see devices by fdisk -l but it gave me error.Is there any way I can reboot my computer? Please keep in mind I am very new in Linux.I tried testdisk but do not know how to use it.

Thanks,

Ubuntunew

Last edited by ubuntunew; 08-21-2012 at 07:08 PM.
 
Old 08-21-2012, 07:18 PM   #2
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Rep: Reputation: 1
Lightbulb

I'd like to suggest you to perform a clean install (if possible) . If there are no crucial data, just re-install Ubuntu. And next time, don't delete such things.

Ubuntu One is a great cloud service offered by Ubuntu where you can back-up your files (like dropbox- but Ubuntu One gives you 5 GB free).
 
Old 08-21-2012, 07:25 PM   #3
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 910

Rep: Reputation: Disabled
Quote:
Originally Posted by ubuntunew View Post
Hello,
I took terminal and tried to see devices by fdisk -l but it gave me error.
What kind of error? We need more information to help you. Even if you have deleted a lot of files - partitions should
state intact.
 
Old 08-21-2012, 10:37 PM   #4
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 219

Rep: Reputation: 20
Quote:
Originally Posted by igadoter View Post
Quote:
Originally Posted by ubuntunew View Post
Hello,
I took terminal and tried to see devices by fdisk -l but it gave me error.
What kind of error? We need more information to help you. Even if you have deleted a lot of files - partitions should
state intact.
I think he deleted an important lib required to access partition with fdisk.

Well, I think you should perform a clean install (just like leosubhadeep says). If you don't care much about amything but your personal data, just back up your '/home/*' directory.
 
1 members found this post helpful.
Old 08-21-2012, 10:46 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
if you do a clean re-install, use a newer version than 9.10. 9.10 is out of date and not supported anymore.
 
Old 08-22-2012, 01:12 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I'll echo the comments for a fresh install as 9.10 is outdated. I'll also echo the comment that you need to provide the error messages instead of stating that it gave you an error. Further you usually need sudo to run fdisk under Ubuntu (or it will not show anything); might be different for liveCD though.

Quote:
Originally Posted by TKH View Post
I think he deleted an important lib required to access partition with fdisk.
Not if OP booted from a live CD
 
Old 08-22-2012, 06:16 AM   #7
ubuntunew
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello everyone,

Thank you for your replay. I can't re-install ubuntu 9.10. I have mysql database(there was customers name&addresses and I did not deleted)with. When I tried boot from hard drive I received error 'Missing Operating System'. I think I made it worse by using Boot repair cd. After that I could not mount hard drive. I will post more information once I go to work.
 
Old 08-22-2012, 07:12 AM   #8
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Rep: Reputation: 1
I am not sure whether this can solve your problem, here's something you might love to read, understand and apply: How To Network Boot (PXE) The Ubuntu LiveCD.

God help the database full of precious data not backed up in time, no kidding !!
 
Old 08-22-2012, 07:54 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I think that this is going to be an exercise in recovery techniques.

Quote:
... the database full of precious data not backed up in time ...
That's a contradictio in terminis
 
Old 08-22-2012, 08:52 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Do not do any further recovery actions on that harddisk!
The way to go here is:
1. Boot from a live-CD and make a complete backup of your disk (or at least the partition with the database) to an external harddisk, using dd or ddrescue.
2. From now on, make all attempts of recovery on that image, not the harddisk.

Try to restore the partition using testdisk from a live system or another Linux system. If you are able to recover the partition-table of the image you may be able to mount the partitions and rescue your data. If you are not able to mount the partition you may be able to repair the file-system using fsck.

Sorry I have to say that, but running a valuable database on an outdated system without backup would be a reason for me to fire the administrator.

Last edited by TobiSGD; 08-24-2012 at 03:28 AM.
 
1 members found this post helpful.
Old 08-22-2012, 09:32 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,225

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
In your initial post you indicate you are very new to Ubuntu 9.10 so does that mean you just installed it and haven't really used it?
You refer to a "bootloader cd", what bootloader CD?
In your initial post you indicate you "deleted mysql database(this was intentional)" and in post #7 you indicate you still have a mysql database with customer info. Which is it?
When you boot the Ubuntu CD and select the "Try without installing" option and open a terminal type: sudo fdisk -l (you should not need a password to get output)

Is Ubuntu the only operating system on the computer?

If you do actually have data on the drive you need, then you need to follow the advice above by TobiSGD and back it up.

Last edited by yancek; 08-22-2012 at 09:34 AM.
 
Old 08-22-2012, 04:57 PM   #12
ubuntunew
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks everyone for your reply,


In your initial post you indicate you are very new to Ubuntu 9.10 so does that mean you just installed it and haven't really used it?
In your initial post you indicate you "deleted mysql database(this was intentional)" and in post #7 you indicate you still have a mysql database with customer info. Which is it?
(1) No I installed it long ago by following Ubuntu link.
(2) You refer to a "bootloader cd", what bootloader CD? I was referring "Boot-Repair"
(3) I installed FOG Cloning software from opensource and It had machine info as well as which user used that machine.
(4) I also downloaded the TestDisk from Ubuntu and tried to recover the data but I could not.But I am able to see my hard drive by using fdisk -l command.

I will try to follow TobiSGD advice and see if I can recover the data
 
Old 08-22-2012, 05:49 PM   #13
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
This is a good lesson on keeping backups.
Can you boot the livecd and check if the partition is accessible? If it is, then backup the important data immediately.
 
Old 08-23-2012, 07:48 AM   #14
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Rep: Reputation: 1
Unhappy

Quote:
Originally Posted by Wim Sturkenboom View Post
I think that this is going to be an exercise in recovery techniques.


That's a contradictio in terminis
Hey, I was just trying to help out. Others are saying the same thing, their way! Can you please explain how I've made a 'contradictio in terminis'?

Last edited by leosubhadeep; 08-23-2012 at 07:55 AM. Reason: Asked to explain the quoted comment on my post
 
Old 08-23-2012, 09:19 AM   #15
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
See my sig. 'precious data' and 'not backed up' are contradicting each other in the same sentence.

I know you were trying to help, no offense was intended.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sharp mebius fails to boot after installation of dual boot with Ubuntu 10.04 bolwara Linux - Laptop and Netbook 5 05-20-2012 04:31 PM
How to make XP boot as default OS in WinXP-Ubuntu dual boot system svin Ubuntu 14 11-04-2009 04:49 PM
Ubuntu bizarre boot sequence--- Boot hangs unless I turn off monitor Theoldras Linux - Hardware 4 07-13-2009 10:37 AM
Dual boot: Ubuntu 8.04 and XP. XP won't boot now - loops back to Ubuntu Slowbey Linux - Newbie 9 01-05-2009 02:44 AM
Changing default boot OS back to Ubuntu without being able to boot Ubuntu revenge02 Linux - Newbie 5 04-16-2007 08:37 PM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration