You are not logged in.
Pages: 1
I wanted to try geubuntu the other day and ended up losing my arch grub configuration as geubuntu overwrote the mbr.
I have tried to overwrite it again myself (I prefer the arch graphic boot) but don't seem to have much luck. My menu.lst says this about my arch partition
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro vga=773
initrd /boot/kernel26.img
I have tried to run both install-grub, which gave this output:
install-grub /dev/sda5
Installing the GRUB bootloader...
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,4)
Filesystem type is jfs, partition type 0x83
grub> setup (hd0,4)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/jfs_stage1_5" exists... yes
Running "embed /boot/grub/jfs_stage1_5 (hd0,4)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0,4) (hd0,4)1+16 p (hd0,4)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
and then grub-install which gave this:
grub-install /dev/sda5
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/sda
All seems to be as it should, yet it is still the geubuntu grub that loads on boot. What am I missing here?
Last edited by b9anders (2007-12-13 19:06:55)
Offline
when you add:
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro vga=773
initrd /boot/kernel26.img
to the ubunu menu.lst it still doesn't work? also, you may have to edit the root partition numbers to point at the correct root/kernel/etc
Offline
You aren't actually writing GRUB to the MBR, you are writing it to a partition.
try
grub-install /dev/sda
instead
Offline
You aren't actually writing GRUB to the MBR, you are writing it to a partition.
try
grub-install /dev/sda
instead
two thumbs up, here is the problem.
Offline
thanks, sacro. solved it.
Offline
Pages: 1