Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 05:40
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Booting lupu-510.iso from Grub2?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
TheTick

Joined: 14 Nov 2008
Posts: 7

PostPosted: Thu 26 Aug 2010, 02:06    Post subject:  Booting lupu-510.iso from Grub2?
Subject description: How?
 

I have Ubuntu and Parted Magic .isos that I'm able to boot from Grub2, but I can't seem to get lupu-510.iso to boot. I must be missing something with grub2. Below is my menuentry:

menuentry "Lupu 5.1" {
insmod ext2
set root=(hd0,2)
loopback loop (hd0,2)/boot/iso/lupu-510.iso
linux (loop)/vmlinuz isoloop=/boot/iso/lupu-510.iso
initrd (loop)/initrd.gz
}

Note (hd0,2) is the correct drive and the other isos that boot fine are on this drive in the same /boot/iso directory.

The Linux image is loaded but fails to find the .sfs files. Do I need an insmod for some other filesystem?
Back to top
View user's profile Send private message 
ICPUG

Joined: 24 Jul 2005
Posts: 1289
Location: UK

PostPosted: Thu 26 Aug 2010, 08:35    Post subject:  

Puppy is not configured to boot from iso.

At its simplest you have to extract 3 files from the iso - vmlinuz, initrd.gz and the .sfs file.

You can place these files down 1 directory level at most - not two like you did with the iso.

I have no knowledge of grub2 configuration so I leave you to sort the config file. If you use a subdirectory of /puppy510 for storage then a kernel parmater of psubdir=puppy510 can help (but is not essential if you have only one puppy).
Back to top
View user's profile Send private message 
Kosh

Joined: 27 Sep 2007
Posts: 41

PostPosted: Thu 26 Aug 2010, 10:01    Post subject:  

You managed to boot Parted Magic from iso? What's your menuentry for that?
What other isos are you booting?
Back to top
View user's profile Send private message 
TheTick

Joined: 14 Nov 2008
Posts: 7

PostPosted: Thu 26 Aug 2010, 20:46    Post subject:  

I have only tried the isos I mentioned above and an Ubuntu Rescue Remix (similar menu entry as any Ubuntu iso). By the way below are my grub2 menuentries for the other two images.

menuentry "SystemRescueCd 1.5.8" {
insmod ext2
set root=(hd0,2)
loopback loop (hd0,2)/boot/iso/systemrescuecd-x86-1.5.8.iso
linux (loop)/isolinux/rescuecd setkmap=us isoloop=/boot/iso/systemrescuecd-x86-1.5.8.iso
initrd (loop)/isolinux/initram.igz
}

menuentry "Test Parted Magic ISO" {
insmod ext2
set root=(hd0,2)
loopback loop (hd0,2)/boot/iso/pmagic-5.4.iso
linux (loop)/pmagic/bzImage iso_filename=/boot/iso/pmagic-5.4.iso boot=live load_ramdisk=1 prompt_ramdisk=0 noeject noprompt
initrd (loop)/pmagic/initramfs
}
Back to top
View user's profile Send private message 
Kosh

Joined: 27 Sep 2007
Posts: 41

PostPosted: Fri 27 Aug 2010, 04:52    Post subject:  

Thanks, I'll try that.
I had not managed to get it to work. At least it's easy to extract to a folder and use it that way, unlike, say, Zenwalk, which is a fine distribution, but a pain to run from a USB stick, at least in a multi-boot environment.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3956
Location: Kiel,Germany

PostPosted: Fri 27 Aug 2010, 05:20    Post subject:  

Quote:
The Linux image is loaded but fails to find the .sfs files.


Perhaps you should not put the puppy vmlinuz, initrd.gz and lupu-510.iso on the top level of the filesystem or different folders.

It seems that the search for the .sfs file is reduced to the first and second level of the dir tree.

Putting the .iso not to /boot/iso/ which means third dir level but to /boot/ or `mkdir /bootpuppy` could fix it I guess.

HTH
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0471s ][ Queries: 11 (0.0030s) ][ GZIP on ]