LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   cannot read table of mounted filesystems (https://www.linuxquestions.org/questions/linux-from-scratch-13/cannot-read-table-of-mounted-filesystems-218266/)

storto 08-16-2004 09:33 AM

cannot read table of mounted filesystems
 
after chroot if i type some commands i receive an error

mount print nothing
df says: "cannot read table of mounted filesystems"

and grub do not views my hd1,0 partition

mstab is empty and my fstab is:

# Begin /etc/fstab

/dev/hdd1 / ext2 defaults 1 1
/dev/hda1 swap swap pri=1 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
proc /proc proc defaults 0 0
#shm /dev/shm tmpfs defaults 0 0
# usbfs /proc/bus/usb usbfs defaults 0 0

# End /etc/fstab

is it possible that some files have wrong privileges?

please help me to understand...

thank you

320mb 08-16-2004 09:51 AM

/dev/hdd1 / ext2 defaults 1 1

is this where / partition is??

then your grub setup is wrong.........it should be hd3,0

storto 08-16-2004 09:58 AM

grub views only one disk hd0 (/dev/hda) from my host slackware 10

and hdd1 is my second disk so.. grub must see it with hd1..

isn't it?

storto 08-16-2004 10:05 AM

note: this is my fstab on host:

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
#/dev/hdb1 /mnt/ntfs ntfs defaults 1 1
/dev/hdd1 /mnt/lfs ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

please help!

storto 08-16-2004 10:41 AM

solved some problems...
now mount and df works fine and grub can see hd1 (/dev/hdd1)
1st i edited my mtab and 2nd i make some changes in "make_devices"

but grub do not boot from hd1

i can see only the prompt on top left of the screen :(


All times are GMT -5. The time now is 05:27 PM.