You are not logged in.

#1 2007-09-28 07:40:47

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

grub configuration issue

i wasn't exactly sure which section to post this in. but anyway, having a bit of a problem getting grub configured, probably a newb question more than anything

but i installed memtest86 the other day. and when i added the line to my grub menu.lst, basically i cant boot to it, it doesn't recognize the path. the path is good. I'm using the default partition layout, not sure if that has anything to do with it

i also cant boot the windows installation thats on a second drive through grub, I wasn't really concerned with that though until i couldn't get memtest to boot. but i might as well kill 2 in 1 right?

heres the menu.lst if it helps

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

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (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
#     +-------------------------------------------------+

# 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   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26-fallback.img

# (1) Windows
title Windows
rootnoverify (hd1,1)
#makeactive
chainloader +1

title  Memtest86+  [/boot/memtest86+/memtest.bin]
kernel (hd0,0)/boot/memtest86+/memtest.bin

this is a signature

Offline

#2 2007-09-28 08:49:39

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,267
Website

Re: grub configuration issue

As far as Windows goes, have you tried changing "rootnoverify (hd1,1)" to "rootnoverify (hd1,0)"?

Can you post the output of 'fdisk -l' too? (that's a lower-case L)

Offline

#3 2007-09-28 09:07:18

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,156

Re: grub configuration issue

Windows can boot directly only from the first harddrive, so grub has to fool windows into thinking it IS on the first hdd.
Try this :

# (1) Windows XP Pro
title Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1

As it looks like you have /boot on a separate partition try this for memtest :
kernel (hd0,0) /memtest86+/memtest.bin

If those don't help post fdisk -l as fukawi suggested.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#4 2007-09-28 18:59:17

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: grub configuration issue

ok, well, XP boots now, thanks to lone wolfs suggestion. but memtest still doesnt work

here's the results from fdisk -l

sh-3.2$ fdisk -l

Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a852e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           5       40162   83  Linux
/dev/sda2               6         136     1052257+  82  Linux swap / Solaris
/dev/sda3             137        6511    51207187+  83  Linux
/dev/sda4            6512       48641   338409225   83  Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x77ffbf35

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        9498    76292653+   7  HPFS/NTFS
/dev/sdb2            9499       30401   167903347+   f  W95 Ext'd (LBA)
/dev/sdb5            9499       30401   167903316    7  HPFS/NTFS

Disk /dev/sdd: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbec58bc1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1        5826    46795776    7  HPFS/NTFS

this is a signature

Offline

Board footer

Powered by FluxBB