LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-04-2005, 08:16 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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# grub
Code:
grub> root (hd0,5)
Error 21: Selected disk does not exist
Tried only typing;
grub> root (hd

and pressed <Tab>. Nothing popup.


root:/sources# cat /etc/fstab
Code:
# 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
Code:
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
[root@localhost ~]# df -hT
Code:
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
Please advise. TIA

B.R.
satimis
 
Old 08-04-2005, 10:46 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Sorry, inaccurate statement.
 
Old 08-04-2005, 02:35 PM   #3
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Try running /sbin/udevstart in your chroot environment.
 
  


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
GrUB: Selected Disk Does not Exist Ekpyrotic Linux - General 51 01-23-2009 04:15 AM
Error opening/initializing the selected video_out (-vo) device. Kdr Kane SUSE / openSUSE 1 02-25-2005 05:54 PM
AGAIN.. error.. basesystem not selected Remote Mandriva 5 04-15-2004 09:48 AM
Do programs to monitor disk usage exist? Thrifty Linux - Software 12 02-06-2004 04:35 PM
Error opening/initializing the selected video_out(-vo) device zyxxm Linux - Software 1 06-29-2003 12:18 AM

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

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