I'm trying to figure out the menu.lst entry I need to boot ubuntu linux from grub4dos. The problem is that the ubu now uses grub2, which
bears little resemblance to the older grub; to be honest, the last time I was able to use that, I had to dig into the ubu files and copy out
some ghastly entries with a uuid nine miles long.
It's even more insane now with the grub2, which doesn't *use* a menu.lst!..to top it all off, the grub4dos folks are not ,lately, including
an example specimen of such an entry. Anyone out there know how to write it? Tnx, krum.
ubuntu 11.04 from grub4dos
Started by
Krum
, Dec 26 2011 01:30 AM
6 replies to this topic
#1
Posted 26 December 2011 - 01:30 AM
#2
Posted 26 December 2011 - 01:38 AM
Hi Krum,
from my grub4dos menu.lst
#
title Ubuntu Desktop 11.04\n ubuntu-11.04-desktop-i386.iso
find --set-root --ignore-floppies /images/ubuntu-11.04-desktop-i386.iso
map /images/ubuntu-11.04-desktop-i386.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/images/ubuntu-11.04-desktop-i386.iso quiet splash --
initrd /casper/initrd.lz
#
from my grub4dos menu.lst
#
title Ubuntu Desktop 11.04\n ubuntu-11.04-desktop-i386.iso
find --set-root --ignore-floppies /images/ubuntu-11.04-desktop-i386.iso
map /images/ubuntu-11.04-desktop-i386.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/images/ubuntu-11.04-desktop-i386.iso quiet splash --
initrd /casper/initrd.lz
#
#3
Posted 26 December 2011 - 05:10 AM
batchman61,
That was fast!; actually I was trying to boot an already installed ubu, which originally had written the grub2 loader for
ubu/xp, which now(the loader) is broken. Yet, I never realized that a mounted iso of the ubu could:
a:)Boot that fast;
b:)Run that fast!!.
I would still like to eventually menu for the installed one, though; note that the UBCD503 which I have in the menu, contains
a 'super grub2' boot utility, and can boot the installed ubu; it's just real kludgey. But again thanks. Krum.
That was fast!; actually I was trying to boot an already installed ubu, which originally had written the grub2 loader for
ubu/xp, which now(the loader) is broken. Yet, I never realized that a mounted iso of the ubu could:
a:)Boot that fast;
b:)Run that fast!!.
I would still like to eventually menu for the installed one, though; note that the UBCD503 which I have in the menu, contains
a 'super grub2' boot utility, and can boot the installed ubu; it's just real kludgey. But again thanks. Krum.
#4
Posted 26 December 2011 - 01:09 PM
Two questions:
Wonko
- What are the contents of your grub.cfg? (grub.cfg is the configuration file for GRUB2)
- Do you have at your Ubuntu installation a core.img file?
Wonko
#5
Posted 26 December 2011 - 08:48 PM
Wonko,Two questions:
- What are the contents of your grub.cfg? (grub.cfg is the configuration file for GRUB2)
- Do you have at your Ubuntu installation a core.img file?
Wonko
as for the core.img, yes I have it, but it will not open in the linux; and when I try to open it in XP using 7zip, it won't open.
Both tries give: "unknown file type". As for the grub.cfg, I can't figure out how to paste it in here; something to do with browser
security settings. Nevertheless, it has the entries for both oses, this after 'sudo update-install', it doesn't get found by grub4dos,
since it's not looking without the menu.lst; should menu.lst look for the core.img? if so, how?. Krum.
#6
Posted 30 December 2011 - 07:02 AM
wonko,
Found on ubuntu forum:
root (hd0,x)
kernel /boot/grub/core.img
where x is, per grub4dos, one less than the partition number of the ubu partition;
also warned that grub on ubu partition might have to be reinstalled:
sudo grub-install /dev/sdax
sudo update- grub.
Tnx all. Krum.
Found on ubuntu forum:
root (hd0,x)
kernel /boot/grub/core.img
where x is, per grub4dos, one less than the partition number of the ubu partition;
also warned that grub on ubu partition might have to be reinstalled:
sudo grub-install /dev/sdax
sudo update- grub.
Tnx all. Krum.
#7
Posted 06 January 2012 - 09:00 AM
up +1
my menu.lst:
my menu.lst:
gfxmenu (hd0,0)/grub/message timeout 10 default 0 title Windows 7 x86 SP1 hide (hd0,2) unhide (hd0,0) root (hd0,0) rootnoverify (hd0,0) makeactive chainloader /bootmgr savedefault --wait=2 title Windows 7 x64 SP1 unhide (hd0,2) hide (hd0,0) root (hd0,2) rootnoverify (hd0,2) makeactive chainloader /bootmgr savedefault --wait=2 title ubuntu root (hd0,5) rootnoverify kernel /boot/grub/core.img boot
Edited by yangjh, 06 January 2012 - 09:01 AM.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users