LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-16-2006, 05:39 AM   #1
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
Boot Problems


Accidently one of the fat partition on my hard disk got deleted. Now when i rebooted my computer, as expected it didn't boot with the grub shell in front of me. I proceeded to do the following

1) The initial Root was (hd0,5) hence i gave the command

1) root (hd0,4)

2) cat /boot/grub/grub.conf

Added the kernel lines from the grub conf
3) kernel /boot/vmlinuxxxxxxxxx-version ro root=LABEL=/

3) boot

The Kernel loads and the system starts booting, but then i get the following error.

Cannot open root device LABEL=/ or unknown block (0,0). Please append a correct root= boot option.

I am using Fedora Core 5. I need help please.
 
Old 11-16-2006, 07:13 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I do not use that distro but for starters you have spelling error the kernel is named
vmlinuZ not vmlinuX.

2) if care to look at my troubleshooter.....you may need an initrd image for your distro so as you have done well so far.....go to the command grub line and now search for the initrd.....or enter the beginning of the line after the kernel line and press tab to allow autocompletion
 
Old 11-16-2006, 10:51 AM   #3
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9
I do not use that distro but for starters you have spelling error the kernel is named
vmlinuZ not vmlinuX.

2) if care to look at my troubleshooter.....you may need an initrd image for your distro so as you have done well so far.....go to the command grub line and now search for the initrd.....or enter the beginning of the line after the kernel line and press tab to allow autocompletion
Could you tell me what to enter in the grub shell to load initrd.
I used Tab Completion for the Kernel loading, since it would haven't loaded the kernel if it was wrong. However i'll check on the links that you provided. Lets see i find something there.
I even tried initrd after kernel however that didn't work(Just read the grub.conf file since cat printed the grub.conf file). Could you specifically tell me, The problem according to me is that The root file system can't be mounted because of the root=LABEL=/.
Previously Linux was installed on /dev/hda5. Due to the deletion of Partition now that has moved one partition up i.e /dev/hda4. Since i am able to load the kernel, but since it doesn't find the FILESYSTEm hence it halts. Could any one tell me what to label the Root so that it could possibly pick the / filesystem.

Last edited by zeeshanhayat; 11-16-2006 at 10:59 AM.
 
Old 11-18-2006, 10:16 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
whoooa there, if you delete a partition it does not automatically change its number as logical partitions start at hdX5.

I suggest you do get hold of a live cd.

and only if you can not use the tab way of looking at each partition type but remember one of your partitions is extended.

post the output of what a live cd sees of your table please

you can use fdisk, sfdisk, cfdisk or qtparted or gparted or parted depending on which live cd you get hold of.

eg

hda1 (c) has MS
hda2 (d)
hda3 extended
hda5 /boot....logical....linux
hda6 /........logical.....linux
hda7 swap......logical
 
  


Reply



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
Dual Boot: Linux Boot Problems with LILO on Mandrake 10.0 verity Linux - General 7 10-13-2006 04:48 AM
dual boot problems, now no boot loader after fixmbr mipia Debian 2 04-04-2004 09:43 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 09:14 PM
Boot problems, carn't boot Linux anymore Thom_Redhat Linux - General 2 01-01-2004 08:21 AM
Boot problems, NTLDR missing but trying to boot on second hard drive Outabux Linux - Newbie 0 04-09-2003 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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
Open Source Consulting | Domain Registration