Grub disk: something automatic?
Goh Lip
g.lip at gmx.com
Tue Jan 26 04:10:03 UTC 2010
On 01/26/2010 04:46 AM, Dotan Cohen wrote:
>> I'll send separately to your email an iso file about 1 Mb a grub2 live
>> cd.
>
> Thanks!
>
>
>> To boot, do one (out of 3) of the following
>>
>> *1*
>> configfile (hd0,x)/boot/grub/grub.cfg
>>
>> *2*
>> linux (hdy,x)/vmlinuz root=/dev/sdax {sdbx ?}
>> initrd (hdy,x)/initrd.img
>> boot
>>
>> *3*
>> set root=(hdy,x)
>> chainloader +1
>> boot
>>
>> note: 'x' and 'y' in (hdy,x) and sdax {sdbx ?} is a real number of your
>> partition
>> do a search to confirm:
>> search -f /vmlinuz
>> search -f /boot/grub/grub.cfg
>> search -f /boot/grub/menu.lst {?}
>>
>
> I searched Google for this disk hoping to find info, but I found none.
> From where did it come?
>
>
The search commands are at the grub2 prompt and will list the (boot)
partitions having the files. For example, if you have hardy on sda2,
karmic on sdb1 and windows on sda1, doing the following search at grub
prompt will give......
grub>ls
(hd0) (hd0,1) (hd0,2) (hd1) (hd1,1)
grub>search -f /vmlinuz
(hd0,2) (hd1,1)
grub>search -f /boot/grub/grub.cfg
(hd1,1)
grub>search -f /boot/grub/menu.lst
(hd0,2)
To make a grub2.iso disk, when booted into karmic, open a terminal and
type "grub-mkrescue grub2.iso". The iso file will be generated at the
dir where this command is issue, namely ~/your-home. (Future version of
grub2 need to specify --output ie., "grub-mkrescue --output=grub2.iso")
Some reading material on grub2....
http://www.dedoimedo.com/computers/grub-2.html
http://kubuntuforums.net/forums/index.php?topic=3106368.0
http://wiki.archlinux.org/index.php/GRUB2
http://wiki.zenwalk.org/index.php?title=Welcome_to_GRUB2--replacing_Grub_legacy_or_LILO_with_GRUB2
http://members.iinet.net/~herman546/p20.html
https://wiki.ubuntu.com/Grub2
https://wiki.kubuntu.org/Grub2
regards- goh lip
More information about the ubuntu-users
mailing list