LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-26-2006, 01:04 AM   #1
aneel
LQ Newbie
 
Registered: Sep 2005
Location: pakistan
Distribution: linux
Posts: 18

Rep: Reputation: 0
Unhappy grub error 21


Hello Dear
i have install my distro on hdc2 on exsisting redhat,
but when configure our new partition's grub it does
not recogonize dive's partitions.

proceure is as follow
we chroot into our new distro
run grub
run root
at the level when we type root (hd0, it quits good but
when we press tab it says error 21: selected disk does
not exists.

other usefull details are


i have implement lfs 5.1 . The grub
version is 0.94. it generate map file as
(fd0) /dev/fd0

menu list file is

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img


# The first entry is for LFS.
title COMNIX Version(1.0)
root (hd0,1)
kernel --no-mem-option /boot/lfskernel root=/dev/hdc2

this file we have chnge of redhat, not our lfs menu
list

the partition where lfs resides is hdc2.


please help me, i will be very thank ful to you.
 
Old 01-26-2006, 03:15 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
i dont' understand how you have grub on hdc... but whatever.

here is my grub.. maybe it will help (it seems your root=/dev/.. is missing.

default 0
timeout 15
color cyan/blue white/blue
foreground ffffff
background 0639a1
#gfxmenu /boot/grub/boot.xpm.gz

title MAIN Debian Sarge - ver. ALL on hda7
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-1-386 root=/dev/hda7 ro noapic nomce noapci
initrd /boot/initrd.img-2.6.12-1-386

title Windows at hda1
rootnoverify (hd0,0)
chainloader +1


[end of my: /boot/grub/menu.lst ]

good luck, lettuce know.

Last edited by halvy; 01-26-2006 at 03:16 PM.
 
Old 01-27-2006, 04:17 AM   #3
aneel
LQ Newbie
 
Registered: Sep 2005
Location: pakistan
Distribution: linux
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up Thanks

Thanks halvy

our problem is solved. we donot have dev nodes.
by creating it our prob is solved
 
Old 01-27-2006, 06:14 AM   #4
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
Wonderful!!!!
 
  


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
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 06:34 PM
GRUB Section2 load error, partition error. Ryle Linux - General 1 06-27-2004 02:55 PM
GRUB error? DriveReady SeekComplete DataRequest Error sth Linux - Hardware 3 02-26-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:43 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