You are not logged in.

#1 2011-11-20 07:47:21

jsschuler
Member
Registered: 2010-03-07
Posts: 18

grub issue[solved]

I just installed Arch to the second hard disk of a brand new computer. When I try to boot I get: Error 17 Cannot mount selected partition

Any ideas? Thanks.

Details:
Booting 'Arch Linux'

root (hd1,0)
Filesystem type unknown partition type 0x22
kernel /vmlinuz-linux root=/dev/disk/by-uuid/b3d63a65-0e2b-4e1e-9805-55d524b572 ef ro

Last edited by jsschuler (2011-11-20 20:18:08)

Offline

#2 2011-11-20 12:17:14

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: grub issue[solved]

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)

you're root (hd1,0) means that linux /boot is on a second hdd instead off the first ....i this right do you have multiple disk in your pc ?? ,you are implying that you're /boot is on /dev/sdb1

otherwise it should be: ===> my output for example
[greglee@myhost ~]$ s0 fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x9d6e4977

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *   425674305   425899214      112455    7  HPFS/NTFS/exFAT   <== win boot
/dev/sda2              63   425674304   212837121    7  HPFS/NTFS/exFAT        <== win7
/dev/sda3       425899215   426091994       96390   83  Linux                        <== linux boot
/dev/sda4       426091995   474913529    24410767+   5  Extended
/dev/sda5       426092058   474913529    24410736   83  Linux                     <== linux root (enrypted)

my menu.lst:

# (1) Arch Linux
title  Arch Linux
root   (hd0,2)    <=== root means in this case the /boot dir or /partition
kernel /vmlinuz-linux cryptdevice=/dev/sda5:root root=/dev/mapper/root ro
initrd /initramfs-linux.img


i hope this helps

Last edited by gregor (2011-11-20 22:47:12)

Offline

#3 2011-11-20 17:15:52

jsschuler
Member
Registered: 2010-03-07
Posts: 18

Re: grub issue[solved]

Thanks for your reply. I managed to get it to work by changing the hard disk it looks for. It seems I installed grub to a different disk that I thought.

Offline

#4 2011-11-20 18:52:45

b4data
Member
Registered: 2010-12-14
Posts: 141

Re: grub issue[solved]

jsschuler wrote:

I managed to get it to work

Glad you solved your problem smile If you change your thread title to include something like [SOLVED], it can make it easier for others in a similar position to resolve their problems without resorting to asking the same question again on the forums.

Offline

Board footer

Powered by FluxBB