Results 1 to 5 of 5
Hi folks,
LFS 6,1
FC3 Host
Encountered another problem on the same section.
8.4. Making the LFS System Bootable
http://www.linuxfromscratch.org/lfs/...er08/grub.html
.... run the grub shell
root:/sources/linux-2.6.11.12# grub
Code:
grub> root ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2005 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Error 21: Selected disk does not exist
Hi folks,
LFS 6,1
FC3 Host
Encountered another problem on the same section.
8.4. Making the LFS System Bootable
http://www.linuxfromscratch.org/lfs/...er08/grub.html
.... run the grub shell
root:/sources/linux-2.6.11.12# grubTried only typing;Code:grub> root (hd0,5) Error 21: Selected disk does not exist
grub> root (hd
and pressed <Tab>. Nothing popup.
root:/sources# cat /etc/fstabCode:# Begin /etc/fstab # file system mount-point type options dump fsck # order /dev/hda6 / ext3 defaults 1 1 /dev/hda3 swap swap pri=1 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devpts /dev/pts devpts gid=4,mode=620 0 0 shm /dev/shm tmpfs defaults 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 # End /etc/fstab
As FC3 Host
[root@localhost ~]# fdisk -l /dev/hda[root@localhost ~]# df -hTCode:Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 2563 20482875 83 Linux /dev/hda3 2564 2690 1020127+ 82 Linux swap /dev/hda4 2691 4865 17470687+ 5 Extended /dev/hda5 2691 3907 9775521 83 Linux /dev/hda6 3908 4637 5863693+ 83 Linux /dev/hda7 4638 4865 1831378+ 83 Linux
Please advise. TIACode:Filesystem Type Size Used Avail Use% Mounted on /dev/hda2 ext3 20G 9.2G 9.2G 51% / /dev/hda1 ext3 99M 12M 83M 12% /boot none tmpfs 125M 0 125M 0% /dev/shm /dev/hda5 ext3 9.2G 1.7G 7.1G 20% /home /dev/hda6 ext3 5.6G 2.4G 2.9G 45% /mnt/lfs
B.R.
satimis
- 08-08-2005 #2
the only question I can think of is - do you have only the one hard disk? As in, do you only have a /dev/hda - (hd0) ? Becuase your grub command - root (hd0,5) - should find /dev/hda6 .
Nerderello
Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS
- 08-08-2005 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi Nerderello,
Yes. The HD is connected as primary IDE master, no SLAVE attached to the same IDE cable.the only question I can think of is - do you have only the one hard disk?
Sorry I don't follow. Please explain. Tks.As in, do you only have a /dev/hda - (hd0) ?
B.R.
satimis
- 08-08-2005 #4
- 08-09-2005 #5
Satimis,
my second question was really just a different way of asking the first question. You answered it - with a yes.
/dev/hda is a way of saying the entire first IDE device (hard disk), and (hd0) is grubs way of refering to the same device.
See if the tutorial (see post above) helps any.
good luck
Nerderello
Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS


Reply With Quote
