You are not logged in.

#1 2004-05-26 01:08:49

nkw
Member
Registered: 2004-03-26
Posts: 80

help, Grub cannot boot

My new installed laptop has the following partitions:

disc1  Boot  Primary NTFS
disc2        Primary Linux ext2 #For boot
disc5        Logical Linux ReiserFS  #For root
disc6        Logical Linux   #For swap   

And the menu.lst of grub for Linux is:

title  Arch Linux
root (hd0,2)
kernel (hd0,1)/vmlinuz26 root=/dev/discs/disc0/part5 ro

However, when booting, error messages are displayed and I cannot boot into Linux:

:: Mounting Root Read-only    [FAIL]
:: Checking Filesystems    [DONE]
:: Mounting Local Filesystems    [BUSY]
warning: can't open /etc/mtab: No such file or directory
mount: can't find / in /etc/fstab or /etc/mtab
can't create lock file /etc/mtab~274: Read-only file system (use -n flag to override)
can't create lock file /etc/mtab~275: Read-only file system (use -n flag to override)

....

:: Starting System Logger  [BUSY]

And system will halt for while and finally shows login screen:

Arch Linux 0.6 (Widget)    ((none)) (vc/1)

(none) login:

Should I not set the partition as Logical? Any suggestion?

Offline

#2 2004-05-26 02:48:29

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: help, Grub cannot boot

I've re-partitioned the hard disk using all primary partition and reinstalled. But there error remains the same.

btw, i found the fstab is very different than my successfully installed desktop. It has only three lines on my laptop:

/dev/rd/0   /     ext2  defaults 0 0
none        /proc proc  defaults 0 0
tmpfs       /tmp  tmpfs defaults 0 0

Can this /etc/fstab file cause the problem?

Offline

#3 2004-05-26 03:16:26

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: help, Grub cannot boot

Anyway, changed the fstab files to the following and still the same error occurs.

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb usbdevfs  defaults            0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part5 swap swap defaults 0 0
/dev/discs/disc0/part3 / reiserfs defaults 0 0

Offline

#4 2004-05-26 12:42:32

wdemoss
Member
From: WV - USA
Registered: 2004-01-18
Posts: 222

Re: help, Grub cannot boot

If the following doesn't help, post your full new partion layout since you repartioned and I'll help out.

nkw wrote:

Anyway, changed the fstab files to the following and still the same error occurs.

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb usbdevfs  defaults            0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part5 swap swap defaults 0 0
/dev/discs/disc0/part3 / reiserfs defaults 0 0

did you updated your /boot/grub/menu.lst for your new repartition? If whats in your fstab is now all you have (you got rid of the boot partition), then update menu.lst

title Arch Linux
root (hd0,4)
kernel /boot/vmlinux26 root=/dev/discs/disc0/part3 ro
nkw wrote:

btw, i found the fstab is very different than my successfully installed desktop. It has only three lines on my laptop:

Code:

/dev/rd/0   /     ext2  defaults 0 0
none        /proc proc  defaults 0 0
tmpfs       /tmp  tmpfs defaults 0 0


Can this /etc/fstab file cause the problem?

yes, if its not in fstab, it doesn't get mounted smile. This has also occured to me when I screwed around too much in the installer, that is partioned, then thought of something else, then repartioned, etc....

HTH
-wd


Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?

Offline

#5 2004-05-26 21:57:41

nkw
Member
Registered: 2004-03-26
Posts: 80

Re: help, Grub cannot boot

My new partitions are:

disc1  Boot  Primary NTFS
disc2        Primary Linux ext2     # Boot
disc3        Primary Linux ReiserFS #
disc4        Primary Linux          # Swap

The error message remain the same after I modify the /etc/fstab as above (it stop even earlier if I didn't modify the fstab file).

Btw, I can run the following command successfully after boot using archlinux CD:
mount /dev/discs/disc0/part3 /mnt/
mount /dev/discs/disc0/part2 /mnt/boot/

Offline

Board footer

Powered by FluxBB