LinuxQuestions.org
Help answer threads with 0 replies.
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 03-13-2011, 10:52 PM   #1
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
error 17 cannot mount selected partition fedora 14


I want
sda win xp
sdb Fedora 14

I did the
grub>find /grub/grub.conf
grub>root (hd1,0)
grub>setup (hd0)

as is stated in 10000 web sites

I rebooted and got
error 17 cannot mount selected partition

and then appeared a text like grub menu

offering
(1) Fedora 2.6.35.6-45.fc14.i686
(2) other

I selected "other" and got
error 13 "invalid or unsupported executable format"
 
Old 03-15-2011, 02:02 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,439

Rep: Reputation: Disabled
I don't understand what you do. Is XP installed and running? If so, just pop in the fedora CD and follow the suggestions, normally the distro will do all the work for you.

If you need to repair something, please post the output from "fdisk -l" and "cat /etc/fstab" here and give an explanation which partition contains what.
 
Old 03-15-2011, 11:04 AM   #3
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
might help to read my original post

XP and F14 running great but I have to work to get either one through grub 2

I did successfully install grub 2

Now I can get to Fedora but not Win XP Prof

No longer getting:
____________________
I selected "other" and got
error 13 "invalid or unsupported executable format"
___________________

Thanks!

[root@landon ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x862a5ee0

Device Boot Start End Blocks Id System
/dev/sda1 63 1953520064 976760001 7 HPFS/NTFS

Disk /dev/sdb: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders, total 143374744 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x145b145a

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 143347994 71673966 7 HPFS/NTFS

Disk /dev/sdc: 36.7 GB, 36703933440 bytes
255 heads, 63 sectors/track, 4462 cylinders, total 71687370 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b4b16

Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 1026047 512000 83 Linux
/dev/sdc2 1026048 71686143 35330048 8e Linux LVM

Disk /dev/dm-0: 34.1 GB, 34091302912 bytes
255 heads, 63 sectors/track, 4144 cylinders, total 66584576 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders, total 4063232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
[root@landon ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Mar 14 11:40:56 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_landon-lv_root / ext4 defaults 1 1
UUID=b9efaf56-a95f-46fa-9716-ba9dc030e091 /boot ext4 defaults 1 2
/dev/mapper/vg_landon-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
[root@landon ~]#

Last edited by landonmkelsey; 03-15-2011 at 11:36 AM.
 
Old 03-16-2011, 04:40 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,439

Rep: Reputation: Disabled
Quote:
Originally Posted by landonmkelsey View Post
might help to read my original post
No, it doesn't. You might take it also from the sparse reaction to your post that people don't understand what you want. Nor is your opening statement what I would call polite. Anyhow...

Quote:
Originally Posted by landonmkelsey View Post
XP and F14 running great but I have to work to get either one through grub 2
Huh?

Quote:
Originally Posted by landonmkelsey View Post
I did successfully install grub 2

Now I can get to Fedora but not Win XP Prof
So you can get to Fedora in contradiction to your above statement. Good. (Then the fdisk output is not needed).

I use GRUB-legacy and have no experience with GRUB2-multiboot. Here are some links which might help you sort this out / integrate Windows:

http://www.dedoimedo.com/computers/grub-2.html
http://linuxers.org/howto/how-config...ub2-ubuntu-910
http://kubuntuforums.net/forums/inde...opic=3106368.0
https://help.ubuntu.com/community/Grub2
http://ubuntuforums.org/printthread.php?t=1195275

HTH.
 
Old 03-16-2011, 11:40 AM   #5
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
trying everything

Thanks

XP and Fedora 14 are "running" but I can now only get to XP

using a fixmbr to repair the MBR.

I've tried everything to get to F14.

If I could boot into F14,

I could use grub2 but using F14 repair, I can only use grub legacy.

F14 is there but I cannot reach it.

There is a problem (I can see) with F14 install.

In the past the grub was installed during install.

Now choosing an install disk (install target drive) requests a

drive to be chosen for bootloader, but if the alternate drive is

chosen (this case the XP drive, it is reformatted. This is how I

got into this mess.

Last edited by landonmkelsey; 03-16-2011 at 11:45 AM.
 
Old 03-17-2011, 11:38 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,439

Rep: Reputation: Disabled
Okay. Here are some links to get at GRUB / Rescue-CDs:

http://www.sysresccd.org/Main_Page
http://www.supergrubdisk.org/
http://www.ultimatebootcd.com/ and the links there...

Last edited by JZL240I-U; 03-17-2011 at 11:41 AM.
 
Old 03-17-2011, 06:19 PM   #7
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
in my 45 years of programming, I've never

had to get involved with the bios

but here it all is as of
<right now>

scsi id
0 XP (with good MBR) 74 Gig
1 F14 (still intact I hope) 37 GIG

I enter the bios and switch the two

scsi id
1 F14 (still intact I hope)
0 XP (with good MBR)

Now if I do the

grub-install /dev/sda (or sdb),

does sda now point to the SCSI drive 1 37 Gig where F14 will reside?

Is there a way in grub .97 to get the table. Seems like I remember a small table

hd1,0 sda I remember it was reversed.
hd0,0 sdb

In other words do the sda and sdb designators stay with the SCSI IDs

or switch to the order in the bios.

This information is left out of the grub manual and makes it equivocal.

Good thing one of the F14 install disks installs a minimum F14.

The fat F14 install disk installs a full version of F14 and takes a while

http://justlinux.com/forum/archive/i.../t-149762.html

Last edited by landonmkelsey; 03-17-2011 at 06:27 PM.
 
Old 03-17-2011, 08:39 PM   #8
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
I can switch scsi drives by moving the jumpers so

SCSI 0 becomes SCSI 1

and

SCSI 1 becomes SCSI 0

That sounds dangerous since the contents of the drive(s) may depend

on the initial assignment(s)


_____________however what if________________
if I switch drives in the bios
scsi id
1 F14 (still intact I hope) sdb
0 XP (with good MBR) sda

and then do the F14 install onto sdb

letting (as you suggested) the installer install the boot loader.

The install shows a table where "install target devices" are selected

The only place to select the drive where the boot loader will be installed

is in the drive (radio button) selected and moved to the right table space.

Therefore I select sdb and turn on the bootloader install radio button (round)

dot in the center.
 
Old 03-17-2011, 08:46 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,306

Rep: Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056
I'm not really sure what you are trying to accomplish here but it seems you are having difficulty ascertaining which drive is which?
In Grub, (hd0) is not necessarily equivalent to sda nor is (hd1) necessarily equivalent to sdb. To find out how Grub sees your drives, you can use the geometry command. If you have your Fedora CD or some way to boot to get to a terminal, log in as root, get to the grub prompt by typing grub at the root prompt, then successively type:

geometry (hd0)
geometry (hd1)
geometry (hd2)

hitting the enter key after each to get output. You can compare this to your fdisk output to tell which drive is which to grub by comparing the number of cylinders shown in the output.

If that's not what you're looking for...?
 
1 members found this post helpful.
Old 03-18-2011, 12:38 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,517

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
PLEASE AND I MEAN DO
post in only one thread !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
you are referring to this one
http://www.linuxquestions.org/questi...nstall-868975/
in a new thread ON THAT THREAD
 
Old 03-19-2011, 04:37 PM   #11
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Original Poster
Rep: Reputation: 37
problem solved...I can now boot to Win XP or Fedora 14

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_landon-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,0)
kernel /vmlinuz-2.6.35.6-45.fc14.i686 ro root=/dev/mapper/vg_landon-lv_root rd_LVM_LV=vg_landon/lv_root rd_LVM_LV=vg_landon/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.6-45.fc14.i686.img
title Windows
# root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1
 
  


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 kobtron Linux - Newbie 7 03-14-2011 01:50 PM
grub error 17 cannot mount selected partition (past posts checked still deosn't work) jieyunfu Linux - General 1 05-06-2008 01:14 AM
GRUB Error #17: Cannot Mount Selected Partition NickN Linux - Newbie 5 11-02-2006 11:10 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
installed gentoo and went to reboot and got error 17: cannot mount selected partition xaber Linux - General 1 05-31-2005 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:16 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