CTKArch · Forums
You are not logged in. Please Register or Login.  |  Search
Posted: Feb 05, 2012 2:16:04 am
zaros104
icon



I'm not very experienced working with grubloader. I've attempted to boot arch multiple times while playing around with the settings in menu.lst. Even when the info in menu.lst seems to point to the right drive, I get:

Quote:
Booting 'Arch Linux'
root    (hd1,0)
  Filesystem type unknown, partition type 0x7
kernel  /vmlinuz root/dev/disk/by-uuid/b18d6ef3-4b93-4a2e-9273-53f97ff57b4v  r
o quiet resume=/dev/disk/by-uuid/11b2d81d-5f5d-4c21-ad1c-339f98062f86

Error 17: Cannot mount selected partition



Attempting to boot and run on my second drive (sdb2), where sdb1 is a boot partition, sdb2 holds /root, and sdb3 is a swap. I've made sure that sdb1 mounts at boot, and I can get to the grub menu just find. I just cannot seem to load arch without Error 17.

Copy of my menu.lst

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

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

# general configuration:
timeout  5
default  0
color light-blue/black light-cyan/blue

# Boot entries follow.
# Each is implicitly numbered from 0 in the order of appearance below.

# You can use the commented entry to boot another system; copy and adjust
# it as many times as you want for all of your other installed systems.
#-*

# (0) Arch Linux
title  Arch Linux
root  (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/b18d6ef3-4b93-4a2e-9273-53f97ff57b4c ro quiet resume=/dev/disk/by-uuid/11b2d81d-5f5d-4c21-ad1c-339f98062f86 
initrd /kernel26.img

# (1) Arch Linux fallback (useful if you change your hard disk/mainboard)
title  Arch Linux Fallback
root  (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/b18d6ef3-4b93-4a2e-9273-53f97ff57b4c ro
initrd /kernel26-fallback.img

# (2) Optional entry for the system on sda1
#title sda1
#rootnoverify (hd0,0)
#makeactive
#chainloader +1




Thanks
Posted: Feb 06, 2012 10:01:19 am
Calimero
icon



When you tell your BIOS to boot your second disk, in GRUB sdb1 is (hd0,0).
Posted: Feb 07, 2012 6:30:26 pm
zaros104
icon



Ahh, so the solution was simple. The conversion comments in the menu.lst threw me off, because it convinced me that grub recieved the order of harddrives straight from BIOS. I didn't know the booting disk was considered hd0,0. Thank you very much for your help, and thank you very much for such a beautiful setup!
Posted: Feb 08, 2012 5:29:21 pm
Calimero
icon



Indeed, GRUB retrieves the order directly from the BIOS.
Which switches the order depending on the boot peripheral you choose with the BIOS menu. Heh.
Powered by myUPB v2.2.7  ·   Creative Commons License PHP Outburst