LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-03-2005, 08:26 AM   #1
kee
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
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

 
Old 06-03-2005, 08:37 AM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
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.
 
Old 06-03-2005, 09:02 AM   #3
bstrik
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Slackware-current 32-bit
Posts: 13

Rep: Reputation: 0
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
 
  


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
booting error bijo Linux - Hardware 1 11-03-2005 05:42 AM
error booting johnnhoj Linux - Newbie 1 12-18-2004 02:17 PM
booting error kingM SUSE / openSUSE 15 10-24-2004 03:45 AM
Error when booting... johnnyICON Linux - General 5 10-01-2004 04:39 PM
Booting error cucolin@ Fedora - Installation 12 04-21-2004 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 AM.

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