How can I make Grub boot 2.16 from hda3? (Solved)
How can I make Grub boot 2.16 from hda3? (Solved)
I have 1GB RAM and HD partitioned hda1,2,3 and swap. Partitions hda1 and 2 have 2.15CE working fine, loaded from an iso burned on a CD,
I wanted to try 2.16 on hda3 and followed the same procedure as for 2.15, and although it works OK from the disc, and apparently loads on hda3, attempts to run it always fail with the message "Error 15: File not found"
I've tried various GRUB settings, but without success.
Any ideas what to try next, please ?
I wanted to try 2.16 on hda3 and followed the same procedure as for 2.15, and although it works OK from the disc, and apparently loads on hda3, attempts to run it always fail with the message "Error 15: File not found"
I've tried various GRUB settings, but without success.
Any ideas what to try next, please ?
Hello muggins and Bruce....is this what you want to see ?
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue May 22 07:50:58 2007
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.3796'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.3796 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro vga=normal
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda1)
root (hd0,0)
setup (hd0,0)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
Thanks...robertito
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue May 22 07:50:58 2007
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.3796'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.3796 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro vga=normal
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda1)
root (hd0,0)
setup (hd0,0)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
Thanks...robertito
Your grub menus entries are the types used for normal installations. See this example:
title Linux (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
A typical co-exist install would look like this (lots of differences)
title Linux (on /dev/hda1)
root (hd0,0)
kernel /vmlinuz root=/dev/ram0 ro vga=normal
initrd /initrd.gz
You will have to figure out what kind of installs you made.
Then adjust the grub menu.lst and vmlinuz and initrd.gz locations to match your menu.lst.
Also remember that GRUB / Linux is stricter than an English teacher with a bun in her hair. You have to have everything exact, syntax, file locations, spelling, everything. You also have to be a careful worker, or she'll slap your knuckles with a ruler.
title Linux (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
A typical co-exist install would look like this (lots of differences)
title Linux (on /dev/hda1)
root (hd0,0)
kernel /vmlinuz root=/dev/ram0 ro vga=normal
initrd /initrd.gz
You will have to figure out what kind of installs you made.
Then adjust the grub menu.lst and vmlinuz and initrd.gz locations to match your menu.lst.
Also remember that GRUB / Linux is stricter than an English teacher with a bun in her hair. You have to have everything exact, syntax, file locations, spelling, everything. You also have to be a careful worker, or she'll slap your knuckles with a ruler.
it seems you've done a co-exist install & grub is looking for initrd.gz, so either modify menu.lst for co-exist, as mentioned by bruce, (making sure that the command for initrd.gz points to where initrd.gz is), or if you want a normal install, like your other partitions, just re-install pup2.16...it takes 10 minutes max.
i think you'll find that what's happening is when you run the universal installer, it looks for vmlinuz on the mounted cdrom, but if you run pmount or mut after booting the cdrom, you'll see that the cdrom isn't mounted.
so the solution is mount the cdrom before running the installer and it should work OK.
if not, just mount the cdrom & copy vmlinuz, initrd.gz, pup_216.sfs & zdrv_216.sfs to /mnt/hda3, then alter menu.lst, as mentioned by bruce above:
so the solution is mount the cdrom before running the installer and it should work OK.
if not, just mount the cdrom & copy vmlinuz, initrd.gz, pup_216.sfs & zdrv_216.sfs to /mnt/hda3, then alter menu.lst, as mentioned by bruce above:
N.B. with co-exist, (aka frugal), install it's /dev/ram0 not /dev/hda3. also, if you have initrd.gz & vmlinuz in /boot, then you have to alter menu.lst accordingly.title Linux (on /dev/hda3)
root (hd0,2)
kernel /vmlinuz root=/dev/ram0 ro vga=normal
initrd /initrd.gz