help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dedicated grub2 partition


From: Barry Jackson
Subject: Re: Dedicated grub2 partition
Date: Wed, 06 Oct 2010 00:29:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-UK; rv:1.9.2.12pre) Gecko/20101004 Lightning/1.0b2 Lanikai/3.1.5pre

On 04/10/10 15:03, Goh Lip wrote:
On Monday 04,October,2010 09:07 PM, Goh Lip wrote:
On Monday 04,October,2010 06:36 PM, Barry Jackson wrote:
On 04/10/10 00:57, Goh Lip wrote:
On Monday 04,October,2010 07:48 AM, Goh Lip wrote:
Barry, try this.......



So...

menuentry "PCLOS live iso" {
loopback loop (hd0,x)/<path>/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz findiso=/<path>/pclinuxos-lxde-2010.1.iso



Not sure what happens to this message, so resending in case it was not
received well...

On Monday 04,October,2010 06:36 PM, Barry Jackson wrote:
 > On 04/10/10 00:57, Goh Lip wrote:
 >> On Monday 04,October,2010 07:48 AM, Goh Lip wrote:
 >>> Barry, try this.......


 >>
 >> So...
 >>
 >> menuentry "PCLOS live iso" {
 >> loopback loop (hd0,x)/<path>/pclinuxos-lxde-2010.1.iso
 >> linux (loop)/isolinux/vmlinuz findiso=/<path>/pclinuxos-lxde-2010.1.iso
 >> boot=isolinux quiet noeject noprompt
 >> initrd (loop)/isolinux/initrd.gz
 >>
 >


 >>
 > Hi Goh
 > Since the .iso is in the root of sda1, the <path> is not actually
needed.
 > I have tried many variations on this:-
 >
 > menuentry 'PCLOS live iso' {
 > loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
 > linux (loop)/isolinux/vmlinuz findiso=/pclinuxos-lxde-2010.1.iso
 > boot=isolinux quiet noeject noprompt
 > initrd (loop)/isolinux/initrd.gz
 > }
 >
 > I changed to boot=boot, livecd=livecd, boot=livecd and the result is
 > always the same:-

Barry, I forgot about "boot=live" - let's try that

menuentry "PCLOS live iso" {
loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz findiso=/pclinuxos-lxde-2010.1.iso
boot=live quiet noeject noprompt
initrd (loop)/isolinux/initrd.gz


 >
 > ACPI: Aborted because no cpio magic.
 > Kernel panic - not syncing: No init found. Try passing init= option to
 > kernel.
 >
 > I tried adding noacpi but no change.
 >
 > With the findiso= the initrd won't boot - without it it runs and gets as
 > far as detecting all hardware, then searches all devices for the "loop
 > image" by which I am guessing it means livecd.sqfs ?
 > I tried livecd=(loop)/livecd but no change.


The 'old' way was to use 'isofrom=/dev/sda1/<path_to>/xxx.iso' instead
of 'findiso=/<path_to>/xxx.iso' (note: no longer need /dev/sdax)


So if we use old method, it would be....

menuentry "PCLOS live iso" {
loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz
isofrom=/dev/sda1/pclinuxos-lxde-2010.1.iso boot=live quiet noeject
noprompt
initrd (loop)/isolinux/initrd.gz


That might be worth a try,

 >
 > I have only 1GB ram - just a thought.
 >

Understand your thinking - but unless we use 'toram' (that sends
everthing to ram, useful for cdrom live), that should not make much
difference, but we'll keep this in mind.

Thinking back, there was a livecd which require a 'password' which I had
put in the linux (kernel) line to boot. But I forgot which livecd that
was and goes something like "key=xxxxx", or "key=nokey" but I don't
think pclinuxos requires that.




 >
 > > Thought you've got these booted?, but never mind, we'll handle the
 > > iso boot first, ya?
 >
 > Yes - I did say "Off topic" that is another issue. It happens if I try
 > to use the motherboard SATA controllers (nforce3). I have no problems at
 > all using a PCI Silicon Image SATA card with the grub.cfg I paste binned
 > earlier. Forget that issue for now!

Yes!




 >
 > Barry


Good luck. - Goh Lip


_______________________________________________
Help-grub mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-grub


Hi Goh,
No joy yet :-(

I have currently 4 test entries which I am now numbering to keep track :-
menuentry 'Test 1' {
  loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz findiso=/pclinuxos-lxde-2010.1.iso boot=boot quiet noeject noprompt
  initrd (loop)/isolinux/initrd.gz
}

menuentry 'Test 2' {
loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz findiso=/pclinuxos-lxde-2010.1.iso boot=live quiet noeject noprompt
initrd (loop)/isolinux/initrd.gz
}

menuentry 'Test 3' {
loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz boot=isolinux vga=788 fromusb root=/dev/sda1 acpi=on fstab=rw,noauto
initrd (loop)/isolinux/initrd.gz
}

menuentry 'Test 4' {
loopback loop (hd0,1)/pclinuxos-lxde-2010.1.iso
linux (loop)/isolinux/vmlinuz isofrom=/dev/sda1/pclinuxos-lxde-2010.1.iso boot=live quiet noeject noprompt
initrd (loop)/isolinux/initrd.gz
}
Tests 1,2,and 4 all produce the same kernel panic at the start of boot when trying to run the initrd.
http://i115.photobucket.com/albums/n287/barjac_2006/DCP_3424.jpg

Test 3 runs the initrd fine until it tries to access livecd.sqfs and fails to find it on a real device.
http://i115.photobucket.com/albums/n287/barjac_2006/DCP_3422.jpg

Sorry about the bad photos.

Barry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]