[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dedicated grub2 partition
From: |
Goh Lip |
Subject: |
Re: Dedicated grub2 partition |
Date: |
Mon, 04 Oct 2010 07:48:25 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4 |
On Monday 04,October,2010 06:50 AM, Barry Jackson wrote:
On 03/10/10 17:26, Goh Lip wrote:
address@hidden baz]# mount -o loop /iso/pclinuxos-lxde-2010.1.iso
drwxr-xr-x 3 root root 2048 2010-06-30 14:15 boot/
drwxr-xr-x 2 root root 8192 2010-06-30 14:31 isolinux/
-rw-r--r-- 1 root root 598171648 2010-06-30 14:31 livecd.sqfs
address@hidden baz]# ls -l /mnt/iso/isolinux/
-rw-r--r-- 1 root root 13605300 2010-06-30 14:15 initrd.gz
-rw-r--r-- 1 root root 2059536 2010-06-30 14:31 vmlinuz
The compressed system is called livecd.sqfs in the root - /boot and
/boot/grub are empty.
Barry, try this.......
menuentry "PCLOS live iso" {
loopback loop (hd0,x)/<path>/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/<path>/vmlinuz
findiso=/<path>/pclinuxos-lxde-2010.1.iso boot=isolinux quiet noeject
noprompt
initrd (loop)/isolinux/initrd.gz
Note
o Please watch out for vmlinux and vmlinuz above
o (hd0,x) is sdax, not like in grub-legacy of <x-1>
o if "boot=isolinux" doesn't work, change to "boot=boot"
o When working, advisable to use "search xxxxxx xxxx xxxxxxxxxxxx"
and delete (hd0,x) as per earlier example
Off topic:-
Spent tonight trying to get grub2 to work with my on-board SATA
controllers - still no go. It only sees the first primary partition sda1
and the first partition in extended sda5. I can boot the PCLOS liveCD
image in sda1 using the non-iso method and can use all partitions on all
drives without issues from within that system (uses sata_nv). I can also
boot into an old Mandriva installation on sda5, but none of my other
installations.
Earlier you said....
Most of my menu entries are simple chainloads into grub legacy systems like
this in menu.lst :-
title Mandriva 2010.1 x86-64
root (hd0,20)
chainloader +1
which in grub.cfg becomes:-
menuentry 'Mandriva 2010.1 x86-64' {
set root=(hd0,21)
chainloader +1
}
Thought you've got these booted?, but never mind, we'll handle the iso
boot first, ya?
But...still, if the other OS is in grub-legacy, the booting process from
a grub2 boot has to be by chainloading. Or you can try, at the OS grub2
to "sudo grub-update" to see the grub.cfg generated.
But okay, we do one thing at a time.
Regards - Goh Lip
- Dedicated grub2 partition, Barry Jackson, 2010/10/01
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/02
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/02
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/02
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/03
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/03
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/03
- Re: Dedicated grub2 partition,
Goh Lip <=
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/03
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/04
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/04
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/04
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/05
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/05
- Re: Dedicated grub2 partition, Barry Jackson, 2010/10/06
- Re: Dedicated grub2 partition, Goh Lip, 2010/10/06