Mounting ISO
Goh Lip
g.lip at gmx.com
Sun Jan 23 06:19:50 UTC 2011
On 01/23/2011 07:14 AM, A. Jorge Garcia wrote:
> Wow, OK, go get some beauty sleep already!
Ahhh... a few hours of sleep can do wonders.....you kids should try
that sometimes.... :)
Okay to recap some points and some assumptions...
o Lets say the file, sage-511-46.iso is put in /home/jorge/ and that
is in partition /dev/hda2/ with UUID xxxxxxxxxxxxxxxxxx and LABEL yyyy
o Puppy Linux, which sage-511-46.iso is based on, requires extraction
of the .sfs file which in this case, would be lupq-511.sfs and needed to
be placed at the same level as the puppy iso to be able to boot iso file.
At terminal (under jorge at computer)
sudo mkdir /mnt/iso
sudo mount -o loop sage-511-46.iso /mnt/iso/
sudo cp /mnt/iso/lupq-511.sfs /home/jorge/
make a grub2 menu entry and put it in the grub.cfg file.
menuentry "Iso - Sage " {
search --no-floppy --label --set yyyy
loopback loop /home/jorge/sagelive-511-46.iso
linux (loop)/vmlinuz findiso=/home/jorge/sagelive-511-46.iso noeject
quiet splash noprompt
initrd (loop)/initrd.gz
}
note: if there is no label set for that partition, use UUID (preferably
actually), to replace the second line...
search --no-floppy --fs-uuid --set xxxxxxxxxxxxx
Since I am much opposed to using /dev/hda2 or (hdx,y) in the grub menu,
like...
set root=(hd1,2)
loopback loop (hd1,2)/home/jorge/sagelive-511-46.iso
linux (loop)/vmlinuz root=/dev/hda2/ noeject noprompt quiet splash
initrd (loop)/initrd.gz
I shall not do so. :)
Regards, good luck - Goh Lip
--
Life is a sexually transmitted disease with a 100% mortality rate.
More information about the ubuntu-users
mailing list