LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-12-2007, 06:02 PM   #1
meinhaj hussain
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Unhappy Booting Problem Help


Hi, this is my first message in this forum, I've been an Ubunutu user for over 9 months now, and having liked it so much, I had been using it as my sole OS. Recently I upraded from Edgy Eft to Feisty Fawn and somehow the upgrade didn't go right. Either for this reason or for some other, my laptop now just won't boot.

My suspicion is that the kernel got corrupted somehow. My first thought was to use the distro cd to repair it, but unlike a Windows CD the Ubuntu distro does not have that option (or I couldn't see it). Booting directly from the CD, I am unable to access the hard drive to either repair the previous installation or just access my dearly needed files. I'd really be grateful for any help or advice.

Thanks in advance.
 
Old 05-12-2007, 06:42 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
Quote:
Originally Posted by meinhaj hussain
Booting directly from the CD, I am unable to access the hard drive to either repair the previous installation or just access my dearly needed files.
That doesn't sound good.
When you boot the CD, are you in the liveCD environment (i.e. the Ubuntu GUI) ???.
And you can't see the disk ???. Ugh.

Open a terminal and post (all) the output from
Code:
sudo fdisk -l
(that's a lower case ell, as in list)

Edit: Forgot about Ubuntu needing sudo for this.

Last edited by syg00; 05-12-2007 at 07:16 PM.
 
Old 05-12-2007, 07:42 PM   #3
meinhaj hussain
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
That doesn't sound good.
When you boot the CD, are you in the liveCD environment (i.e. the Ubuntu GUI) ???.
And you can't see the disk ???. Ugh.

Open a terminal and post (all) the output from
Code:
sudo fdisk -l
(that's a lower case ell, as in list)

Edit: Forgot about Ubuntu needing sudo for this.
Thanks for coming to the rescue! Sorry for the delay, I had to hand write all of the info and bring it to this computer.
You're right, when I boot from the CD I am in the live CD environment. If I go to places and computer, I can see the CD drive and the hard drive but I cannot access the hard drive it says "unable to mount the selected volume" and in details:
error: device /dev/hdal is not removable
error: could not execute pmount


after doing sudo fdisk I get the following output:

Device Boot start end Blocks Id System
/dev//hda1 * 1 2339 18787986 83 Linux
/dev/hda2 2340 2432 7470022+ 5 Extended
/dev/hda5 2340 2432 746991 82 Linux swap/solaris

Last edited by meinhaj hussain; 05-12-2007 at 08:02 PM.
 
Old 05-13-2007, 12:11 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
I'm surprised the liveCD mode doesn't get you a Internet connection. I use Knoppix typically, then I can hit the net directly from the problem system.

Hopefully that error message actually said hda1 (one, not ell). Regardless you have a problem.
Does the liveCD recognise USB insertion ??? - hopefully you can copy your data off to there.
Try the following on the liveCD to see your data
Code:
sudo mkdir /media/tempry
sudo mount /dev/hda1 /media/tempry
Hopefully you should be able to see your data via Nautilus or whatever. If not, from that terminal try (no quotes) "ls /media/tempry", then descend appropriate levels; say "ls /media/tempry/home", then "ls /media/tempry/home/<your user name here>"
 
Old 05-13-2007, 12:59 AM   #5
meinhaj hussain
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
thanks, let me try this
 
Old 05-18-2007, 06:04 PM   #6
meinhaj hussain
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, I just accessed my files. This is great. I can't access all the files but at least I got most of it.

Can I bother you a bit further and ask if and how I can replace my corrupt OS without losing everything? Or is it better that I just start fresh?
 
Old 05-18-2007, 08:50 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
With the GUI installers Ubuntu use I doubt it - maybe if you used the alternate CD. But again I doubt it. You could try a re-install without formatting any partitions.

If it were me I'd create a /home partition (as I always do), and copy all the current /home there. Then try the install again from the start. If you use the same username (and don't allow it to format that partition) it should offer to keep the user specific stuff. Does on an upgrade.
 
  


Reply

Tags
booting, corrupt, kernel, ubuntu


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with booting cd Koentje Linux - Newbie 2 04-30-2007 12:53 PM
Booting Problem sanu Linux - General 1 08-27-2006 08:21 AM
Next Booting Problem! PirateFSM Linux - Software 7 07-14-2006 01:38 AM
Booting Problem Jiraiya Linux - General 2 01-26-2006 12:30 PM
Problem booting RH 9.0 the_rydster Linux - Laptop and Netbook 1 11-12-2003 11:11 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration