booting error?
Hi,
I've just installed a slackware 10.1 into my pc. To boot my win2k, I also installed grub. Here is what the fdisk -l shows: Device Boot Start End Blocks Id System /dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS /dev/hda2 2551 3649 8827717+ f W95 Ext'd (LBA) /dev/hda5 2551 2552 16033+ 83 Linux /dev/hda6 2553 2634 658633+ 82 Linux swap /dev/hda7 2635 3649 8152956 83 Linux Disk /dev/hdb: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb2 2 9729 78140160 f W95 Ext'd (LBA) /dev/hdb5 2 6927 55633063+ 7 HPFS/NTFS /dev/hdb6 6928 7179 2024158+ b W95 FAT32 /dev/hdb7 7180 9729 20482843+ 7 HPFS/NTFS My boot is mounted at /boot at /dev/hda5. The problem is when I bootup using grub, the system complains something like: ***ERROR***: Root partition has already been mounted read-write. Cannot check! followed by some advcies which I don't understand. Though I can bootup the system by ignoring the error. I guess there might be something wrong with my grub configuration. Here is my menu.lst: # # Boot menu configuration file for GRUB # # By default, boot the first entry default 0 # Boot automatically after 30 secs timeout 30 # Fallback to the second entry if the default entry doesn't work fallback 1 # Booting Linux title Linux/Slackware 10.1 kernel (hd0,4)/vmlinuz root=/dev/hda7 # Booting Windows 2000 title Windows 2000 Professional root (hd0,0) makeactive chainloader +1 Sorry for the long message. Any help or advices would be appriecated. Thanks :confused: |
A little off topic, but you do know you can boot non-linux partitions with LILO, right?
As for how to fix it, I really don't know. I don't use grub, because I don't like it. Have you tried checking grub's documentation? http://www.gnu.org/software/grub/man...ode/index.html The problem is obviously that GRUB isn't mounting the root as read-only, but a quick check in the docs didn't make anything leap off the page for how to set it. |
change the line
kernel (hd0,4)/vmlinuz root=/dev/hda7 to kernel (hd0,4)/vmlinuz root=/dev/hda7 ro the 'ro' mounts the partition as Read Only |
All times are GMT -5. The time now is 03:40 AM. |