LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-17-2004, 11:09 AM   #1
hrg
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton


Hello People

Firstly must say that this is a really good forum. This is my first post so here we go. Basically I have a laptop (yeah good for me lol) compaq presario 2500. I have WinXP on it. What I wanted to do was install Redhat 9.0 and SuSe9.1. I Used partition magic to partiton the hard drive 40gb (1st partition winxip 18gb, redhat 10gb, SuSe 10gb, Swap 1gb, Vfat 1gb in this order).

I installed Redhat on the second partiton hda5 it went all fine (obviously had to cofigure the nofirewire issue on boot up and pcmcia issue on shutdown using this forum great got it fixed. Everything fine there WinXP and RH9 boot up and work sweet.

The problem I am having is when I loaded SuSe I selected the third partition hda6. The install went well. When getting to the GRUB menu and select WinXP or RH9 they are fine and boot up but when booting SuSe I get an error

'Boot Partition'

Error 17: Cannot mount selected partition ... and the it prompts to
'press enter to continue...' and goes back to the grub menu.

This error means the following

Error 17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the
filesystem type cannot be recognized by GRUB.


So what I did is loaded RH9 and mounted the SuSe filesystem and go and look into grub.conf and menu.lst files and they both seem fine, when i go into RH9 grub file it does not have the SuSe information at all.

But here is the thing it uses the SuSe grub menu. The way i know this is the options it gives me at the menu, there are 4 options

RH9
WinXP
SuSe
Memory Test

(In this order)

The last 2 options are not in the RH9 grub file so I know it is not using the RH9 grub (and also I installed SuSe 2nd and so that would have NOT overwritten but defaulted to the SuSe Grub.

So how do I fix this error 17 problem?.

-------------------------

Also Now when I load RH9 it comes up with errors on Boot. It goes something like this

something vfat [failed]
(perhaps iptable or kernel needs to be updated).

iptables-restore -h iptables-restore --help
(perhaps iptable or kernel needs to be updated).
[failed]

I have to obviously do something to the kernel as this needs some updating.

Hope somebody can help me.

Cheers

Guys..........and Gals

I have not failed. I have just
found 10,000 ways that don't work
 
Old 07-18-2004, 10:41 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,784

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
From what you've posted here, it sounds like you installed RH and installed RH's grub to the MBR, then, when you installed SuSE, you did the same thing, installed SuSE's grub to the MBR. There is only one MBR, and you can only have one instance of a bootloader, so SuSE is it. The two files which will make or break your attempts to boot WinXP, RH, and SuSE are SuSE's /boot/grub/menu.lst and /etc/fstab. The problem probably lies in eithe/both of those files.
Post the contents; maybe we can help.
As an option, if you can boot into RH and reinstall grub to the MBR, you would have to edit RH's grub.conf and possibly /etc/fstab to recognize SuSE.

Last edited by bigrigdriver; 07-18-2004 at 10:43 AM.
 
Old 07-23-2004, 08:22 AM   #3
hrg
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Original Poster
Rep: Reputation: 0
here is the info for fstab


LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5, mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 /windows vfat defaults 0 0
/dev/hda7 /swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
 
Old 07-23-2004, 09:22 AM   #4
jza
Member
 
Registered: Jul 2003
Posts: 40

Rep: Reputation: 15
What does your grub.conf look like?

You should have something resembling:

title Suse
root=(hd0,1)
kernel ...
title Redhat
kernel (hd0,2)/boot/... root=/dev/hda3

etc.
 
Old 07-23-2004, 11:16 AM   #5
hrg
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Original Poster
Rep: Reputation: 0
sorry here is the grub file

the thing is it uses the grub from the suse partition as the grub menu is that from SUSE. So I have to mount the pratition and will get the grub.conf and menu.lst

#modified by YaST2. Last modification on Thu Jul 15 15:00:10 2004




colour white/blue black/light-gray
default 1
timeout 8
gfxmenu (hd0,5)/boot/message


###Don't change this comment - YaST2 idemtifier: Orignal name: Linux###
title SuSe
kernel (hd0,6)/boot/vmlinuz root=/dev/hda6 vga=0x317 splash=silent desktop resume=/dev/hda7 showopts
initrd (hd0,6)/boot/initrd



###Don't change this comment - YaST2 idemtifier: Orignal name: windows###
title Windows
root (hd0,0)
chainloader +1


###Don't change this comment - YaST2 idemtifier: Orignal name: Linux###
title RedHat
kernel (hd0,5)/boot/vmlinuz root=/dev/hda5 vga=0x317 splash=silent desktop resume=/dev/hda7 showopts
initrd (hd0,5)/boot/initrd


###Don't change this comment - YaST2 idemtifier: Orignal name: Linux###
title Memory
kernel (hd0,6)/boot/memtest.bin
 
Old 08-19-2006, 07:47 AM   #6
suchi
Member
 
Registered: Nov 2003
Location: india
Posts: 46
Blog Entries: 1

Rep: Reputation: 15
just make initrd again it will work

Hi,
I had this problem recently. I did this on my suse 10 command prompt :

mkdir /boot/new
mkinitrd -k /boot/vmlinuz -i /boot/new/new-initrd

Then edit /boot/grub/menu.lst to give the new-initrd's name on

"initrd <initrd name>" section

Reboot and it works fine !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton hrg Linux - Newbie 3 10-02-2004 08:38 AM
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton hrg Linux - Laptop and Netbook 1 07-16-2004 04:34 PM
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton hrg Linux - General 1 07-16-2004 09:14 AM
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton hrg Linux - Software 1 07-16-2004 09:06 AM


All times are GMT -5. The time now is 02:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration