You are not logged in.
hello all,
Another Arch noob here....:rolleyes:
Would appreciate some help with what appears to be a Grub installation problem:
I have used the 'Install from Existing Linux' part of the wiki, to install 64bit Arch on my second hard drive.
1st hard drive has Ubuntu 9.04 on it. I want the Arch disk to be able to boot on it's own so that I can do away with the Ubuntu later.
I formatted the Arch drive partitions to ext4: (my first mistake?)
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001ba55
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       25496   204796588+  83  Linux
/dev/sdb2           25497       60799   283571347+  83  Linux
/dev/sdb3           60800       60801       16065   82  Linux swap / SolarisIn /boot of the second drive I can see:
drwxr-xr-x 2 root root    4096 2010-07-17 14:46 grub
-rw-r--r-- 1 root root 8330488 2010-07-17 14:25 kernel26-fallback.img
-rw-r--r-- 1 root root 1634349 2010-07-17 14:25 kernel26.img
-rw-r--r-- 1 root root 1382602 2010-07-06 05:46 System.map26
-rw-r--r-- 1 root root 2107872 2010-07-06 05:46 vmlinuz26And in /boot/grub I see
-rw-r--r-- 1 root root    197 2010-07-17 14:28 default
-rw-r--r-- 1 root root     45 2010-07-17 14:27 device.map
-rw-r--r-- 1 root root  12320 2010-07-17 14:28 e2fs_stage1_5
-rw-r--r-- 1 root root  10544 2010-07-17 14:28 fat_stage1_5
-rw-r--r-- 1 root root   9312 2010-07-17 14:28 ffs_stage1_5
-rw-r--r-- 1 root root   9312 2010-07-17 14:28 iso9660_stage1_5
-rw-r--r-- 1 root root  11296 2010-07-17 14:28 jfs_stage1_5
-rw-r--r-- 1 root root   1286 2010-07-18 14:38 menu.lst
-rw-r--r-- 1 root root   1276 2010-07-17 14:40 menu.lst~
-rw-r--r-- 1 root root   9344 2010-07-17 14:28 minix_stage1_5
-rw-r--r-- 1 root root  13088 2010-07-17 14:28 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 2010-07-17 14:28 stage1
-rw-r--r-- 1 root root 136402 2010-07-17 14:28 stage2
-rw-r--r-- 1 root root   9716 2010-07-17 14:28 ufs2_stage1_5
-rw-r--r-- 1 root root   8768 2010-07-17 14:28 vstafs_stage1_5
-rw-r--r-- 1 root root  12872 2010-07-17 14:28 xfs_stage1_5In /boot/grub/menu.lst I have:
# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue
# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd1,0)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26.imgWhen I boot I get:
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz26 root /dev/sda2 ro
Error 15: File not found
Press any key to continue.....I have tried using root /dev/sda1 in menu.lst as well and neither works.
I am wondering if my boot partition has to be ext2? Or do I need to use Grub2?
All comments appreciated
Last edited by noodles (2010-07-18 08:10:47)
Offline
It doesn't have to be ext2 (although) a safe choice. I really don't like grub2 its been incredibly slow for me (at least from the debian system that installed it) to the same point I've see it run just fine on a netbook so there is something else going on.
root   (hd1,0)you sure thats the right HD?
Someone call a doctor, my awesome configuration broke again! || To err is human -- to blame it on a computer is even more so.
Offline
Wow that was a fast reply thanks ![]()
I want to use my BIOS boot menu (Alt F11) to boot Arch.
HD(0) (/dev/sda when on Ubuntu)has a bunch of Ubuntu partitions on it.
HD(1) (dev/sdb when on Ubuntu) has arch installed.
So I assume that from my BIOS's point of view, Arch is on the second disk in the system, which is HD1, right?
EDIT: When I set it to HD0 it boots Ubuntu
Last edited by noodles (2010-07-18 07:09:04)
Offline
I belive thats correct, although I'd have to take another look at the [wiki]grub[/wiki] wiki. have you tried vareattions such as (hd1,1) (hd1,2) to see if one of those is correct
/dev/sdb2   ==    (hd1,1)so I assume that would mean that the first one would be (hd1.0)
still worth a shot tho
edit: n/m fixed it ![]()
sda3 =! sda2
not really helpful now
Last edited by jmad980 (2010-07-18 07:13:41)
Someone call a doctor, my awesome configuration broke again! || To err is human -- to blame it on a computer is even more so.
Offline
Got it.
# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sdb1 ro
initrd /boot/kernel26.imgThis works. /dev/sdb1 seems to be hd(0,0), but I don't really understand it. Maybe hd0 is relative to Grub. I'll go and read Grub wiki again.
I am learning even as I type this ![]()
Thanks for the help ![]()
Edit: what I've learned:
hd0,0 is the first partition relative to where the grub that boots is installed.
/dev/sdb1 is the same partition, which as it happens in this case, is the second HDD on the system.
Now I can boot either and still be free to change one distro without killing the other by means of BIOS boot menu.:lol:
Last edited by noodles (2010-07-18 08:16:13)
Offline
sweet, mark as [solved]
Someone call a doctor, my awesome configuration broke again! || To err is human -- to blame it on a computer is even more so.
Offline