You are not logged in.
Pages: 1
I thought it would be best to create a new thread, as this is a different subject.
I'm trying to get a dual-boot Arch / Windows XP setup going. I created four partitions for Arch and finished the installer, but now GRUB gives me an "error 15" and won't even launch. After looking around a bit I learned that this error means that GRUB is looking for something but not finding it. I tried many different solutions and none worked.
My partitions are:
sdb1 -> Windows XP
sdb2 -> boot
sdb3 -> swap
sdb5 -> root
sdb6 -> home
Here's some info I think would be useful:
device.map:
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
blkid:
/dev/sda1: LABEL="MAGUS" UUID="43DC-06FF" TYPE="vfat"
/dev/sdb1: UUID="8644E64C44E63F15" LABEL="LAVOS" TYPE="ntfs"
/dev/sdb2: UUID="d0ac72c6-5864-428d-bbb9-e3d20d8ddde5" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb3: UUID="7a716785-a76b-4dd4-8353-48d5afa0a306" TYPE="swap"
/dev/sdb5: UUID="48700728-0695-46f1-8f47-ea364800af1a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb6: UUID="f1769be4-4c81-4e9c-b2c9-51cbc5743d09" SEC_TYPE="ext2" TYPE="ext3"
menu.lst:
# 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)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd1,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/d0ac72c6-5864-428d-bbb9-e3d20d8ddde5 ro vga=773
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd1,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/d0ac72c6-5864-428d-bbb9-e3d20d8ddde5 ro
initrd /kernel26-fallback.img
# (2) Windows
title Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
"find /grub/stage1" gives me (hd1,1). grub is installed in sdb2 rather than just sdb (as suggested by the dual-booting guide on Arch Wiki), and both vmlinuz26 and the kernel are there. I tried changing "root" in menu.lst to "(hd0,1)" and using /dev/sdb2 instead of the UUID, but neither worked.
I have nearly no experience with Linux, so any help is appreciated.
Thank you!
Offline
Clarification, please: when do you get the error? Does GRUB show you a menu, and if so, can you boot into Windows?
Offline
Nope, GRUB doesn't launch at all. I see no menu, no nothing. It happens during start-up and I can't start either OS. I'm currently using an old Ubuntu Live CD I found.
Last edited by Caio (2009-07-05 20:51:42)
Offline
The root(hd#,#) should indeed point to your boot partition, which you seem to have right. However the root= argument you pass to the kernel should be your actual root, you have this set to the /boot partition's uuid I believe, try changing this first. Also make sure the boot partition is marked bootable in fdisk.
Offline
Nope, no luck. Here's menu.lst:
# (0) Arch Linux
title Arch Linux
root (hd1,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/48700728-0695-46f1-8f47-ea364800af1a ro vga=773
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd1,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/48700728-0695-46f1-8f47-ea364800af1a ro
initrd /kernel26-fallback.img
# (2) Windows
title Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
and fdisk:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc14bc14b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9728 78140128+ c W95 FAT32 (LBA)
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe2fbe2fb
Device Boot Start End Blocks Id System
/dev/sdb1 1 32059 257513886 7 HPFS/NTFS
/dev/sdb2 * 32060 32071 96390 83 Linux
/dev/sdb3 32072 32195 996030 82 Linux swap / Solaris
/dev/sdb4 32196 38913 53962335 5 Extended
/dev/sdb5 32196 34019 14651248+ 83 Linux
/dev/sdb6 34020 38913 39311023+ 83 Linux
Offline
Um, just now I went to /dev/ using Ubuntu's file browser and noticed that there weren't files for sdb2 to 6, but there were for sda2 to 6. I changed menu.lst to look for root in /dev/sda5, didn't work; came back to Ubuntu, changed it to /dev/sdb5, didn't work again. However, now it seems there are files for sdb2-6 - but not sda! What is going on? Could it have anything to do with the GRUB issue?
Also, earlier I tried reinstalling grub with "setup (hd1,1)" and the problem persisted...
Edit: Forgot to mention - error happens at stage 1.5.
Last edited by Caio (2009-07-06 14:11:52)
Offline
Pages: 1