<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - donatom</title>
		<link>http://www.linuxquestions.org/questions/blog/donatom-638772/</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Tue, 21 May 2013 02:22:30 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://lqo-thequestionsnetw.netdna-ssl.com/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - donatom</title>
			<link>http://www.linuxquestions.org/questions/blog/donatom-638772/</link>
		</image>
		<item>
			<title>Booting Mint Linux 14 iso and other isos from the hard drive using grub2</title>
			<link>http://www.linuxquestions.org/questions/blog/donatom-638772/booting-mint-linux-14-iso-and-other-isos-from-the-hard-drive-using-grub2-35301/</link>
			<pubDate>Sat, 09 Feb 2013 07:09:17 GMT</pubDate>
			<description><![CDATA[Booting a live iso from your harddrive is generally pretty easy. You store your live isos in a directory (I created the "ISOS" directory under the...]]></description>
			<content:encoded><![CDATA[<div>Booting a live iso from your harddrive is generally pretty easy. You store your live isos in a directory (I created the &quot;ISOS&quot; directory under the Downloads directory for this purpose) on your system. You then open the iso (# mount -o loop /path-to-iso /mnt OR right click the iso file and choose &quot;open with Archive Manager&quot;)  and look for either the syslinux.cfg or the isolinux.cfg file. Open this file with gedit and look for &quot;append:&quot;. Copy all the info that follows &quot;append:&quot;. This information will be used in the grub2 menuentry. Then open /etc/grub.d/40_custom with a text editor and add a menuentry for each iso you wish to boot. The following is a sample of a typical entry:<br />
<br />
menuentry &quot;Lucid Puppy 5.2.8&quot; {<br />
  loopback loop (hd0,6)/donatom/Downloads/ISOS/LucidPuppy/lupu-528.iso<br />
  linux (loop)/vmlinuz  pmedia=atahd --<br />
  initrd (loop)/initrd.gz<br />
}<br />
<br />
On the &quot;loopback&quot; line you give the path to the iso, preceded by the word &quot;loop&quot;.<br />
On the &quot;linux&quot; line you add the path to &quot;vmlinuz&quot;; this info will be found right before &quot;append:&quot; in the isolinux.cfg file (or syslinux.cfg file). Then you list all the info you copied above (i.e., following the word &quot;append:&quot;).<br />
On the last line (initrd) you will give the path to the proper initrd file, which can be found among the directories in the iso; for instance, for ubuntu and its dirivatives you would look in the casper directory of the iso (you should see the vmlinuz and the proper initrd file in this directory). Generally you place &quot;(loop)&quot; right before the paths to the vmlinuz and the initrd files.<br />
<br />
After you have added your menuentries for grub2, you then run &quot;update-grub&quot;. If you are using Fedora on you system, you would run &quot;grub2-mkconfig -o /boot/grub2/grub.cfg&quot; instead.<br />
<br />
Reboot and you should see the titles of the menuentries at the bottom of the grub menu. Click on the title and your iso should boot. As you probably have realized, this process is a lot like the process for setting up mulitboot usb devices.<br />
<br />
Now some live linux isos are somewhat problematic. Mint Linux is one of the troublesome ones.<br />
<br />
To get Mint to boot on a system hard drive, you would copy all of the contents of the iso (# mount -o loop /path-to-iso /mnt; then # cp -vr /mnt/* /path-to-MintLinux-directory) and place them in a directory on your hard drive. I created the &quot;MintLinux&quot; directory inside the ISOS directory. You would also have to copy the iso itself and place it in the same directory. Use the process listed above to get the proper kernel options. To get Mint Linux to boot, you leave out the first line (loopback) of the menuentry and you have to include &quot;iso-scan/filename=&quot; followed by the path to the Mint Linux iso. You must also add &quot;toram&quot; at the end of the &quot;linux&quot; line. You should not place &quot;(loop)&quot; in front of the path to the vmlinuz or to the initrd file.<br />
<br />
The following menuentry should allow you to boot Mint Linux from you system hard drive:<br />
(make sure you use the proper paths to your isos, including the proper partition; (hd0,6) refers to the sixth partition of the first harddrive -- even if the hard drive is a sata drive; yours, of course, will probably be different from mine)<br />
<br />
menuentry &quot;mint 14.1 mate 64 bit&quot; {<br />
  linux (hd0,6)/donatom/Downloads/ISOS/LinuxMint/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz iso-scan/filename=/donatom/Downloads/ISOS/LinuxMint/linuxmint14-64bit.iso splash toram --<br />
  initrd (hd0,6)/donatom/Downloads/ISOS/LinuxMint/casper/initrd.lz<br />
}<br />
<br />
<br />
I am including all of the entries I have on my drive for live isos (some are utilities). You could actually create a separate partition for your isos, if you preferred (the paths, of course, would be shorter and the menu entry would look nicer perhaps):<br />
<br />
<br />
menuentry &quot;AVG Rescue CD&quot; {<br />
<br />
   loopback loop (hd0,6)/donatom/Downloads/ISOS/AVG-Live.iso<br />
   linux (loop)/isolinux/vmlinuz max_loop=255 vga=791 init=linuxrc iso-scan/filename=/donatom/Downloads/ISOS/AVG-Live.iso<br />
   initrd (loop)/isolinux/initrd.lzm<br />
}<br />
<br />
menuentry &quot;System Rescue CD 2.8.1&quot; {<br />
 set isofile=&quot;/donatom/Downloads/ISOS/systemrescuecd-2.8.1.iso&quot;<br />
 loopback loop (hd0,6)$isofile<br />
 linux (loop)/isolinux/rescuecd setkmap=us isoloop=/donatom/Downloads/ISOS/systemrescuecd-2.8.1.iso<br />
initrd (loop)/isolinux/initram.igz<br />
}<br />
<br />
menuentry &quot;Memory test (memtest86+)&quot; {<br />
 linux16 (hd0,6)/donatom/Downloads/ISOS/memtest86+-4.20.bin<br />
}<br />
<br />
menuentry &quot;Partion Magic ISO&quot; {<br />
set isofile=&quot;/donatom/Downloads/ISOS/PartitionMagic.iso&quot;<br />
loopback loop (hd0,6)$isofile<br />
linux (loop)/pmagic/bzImage iso_filename=$isofile boot=live load_ramdisk=1 prompt_ramdisk=0 noeject noprompt<br />
initrd (loop)/pmagic/initramfs<br />
}<br />
<br />
menuentry &quot;Seagate SeaTools&quot; {<br />
 linux16 (hd0,6)/donatom/Downloads/Seatools/memdisk bigraw<br />
 initrd16 (hd0,6)/donatom/Downloads/Seatools/SeaTools.img<br />
}<br />
<br />
menuentry &quot;BackTrack5 r3&quot; {<br />
  set gfxpayload=1024x768x16<br />
  insmod vbe<br />
  loopback loop (hd0,6)/donatom/Downloads/ISOS/BackTrack5-r3/BT5r3.iso<br />
  linux (hd0,6)/donatom/Downloads/ISOS/BackTrack5-r3/casper/vmlinuz  file=(loop)/casper/custom.seed boot=casper BOOT=casper persistent rw iso-scan/filename=/donatom/Downloads/ISOS/BackTrack5-r3/BT5r3.iso<br />
  initrd (hd0,6)/donatom/Downloads/ISOS/BackTrack5-r3/casper/initrd.bt5r3.gz<br />
}<br />
<br />
menuentry &quot;Super Grub2 Disk&quot; {<br />
  linux16 (hd0,6)/donatom/Downloads/ISOS/memdisk iso bigraw<br />
  initrd16 (hd0,6)/donatom/Downloads/ISOS/super_grub_disk.iso<br />
}<br />
<br />
menuentry &quot;Slacko Puppy&quot; {<br />
<br />
  linux16 (hd0,6)/donatom/Downloads/ISOS/Puppy/memdisk iso bigraw<br />
  initrd16 (hd0,6)/donatom/Downloads/ISOS/Puppy/slacko-5.3.3-4g-SCSI.iso<br />
}<br />
<br />
menuentry &quot;Lucid Puppy 5.2.8&quot; {<br />
  loopback loop (hd0,6)/donatom/Downloads/ISOS/LucidPuppy/lupu-528.iso<br />
  linux (loop)/vmlinuz  pmedia=atahd --<br />
  initrd (loop)/initrd.gz<br />
}<br />
<br />
menuentry &quot;ultimate boot cd 5.1.1&quot; { <br />
  linux16 (hd0,6)/donatom/Downloads/ISOS/memdisk iso raw <br />
  initrd16 (hd0,6)/donatom/Downloads/ISOS/ubcd511.iso <br />
} <br />
<br />
<br />
<br />
I hope some of you will find this useful.</div>

]]></content:encoded>
			<dc:creator>donatom</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog/donatom-638772/booting-mint-linux-14-iso-and-other-isos-from-the-hard-drive-using-grub2-35301/</guid>
		</item>
		<item>
			<title>Multibooting live isos with grub2 -- why are fedora/red hat derivatives making things hard?</title>
			<link>http://www.linuxquestions.org/questions/blog/donatom-638772/multibooting-live-isos-with-grub2-why-are-fedora-red-hat-derivatives-making-things-hard-35276/</link>
			<pubDate>Mon, 21 Jan 2013 06:21:57 GMT</pubDate>
			<description>With the help of linux forums and especially the pendrivelinux.com site (booting linux isos with grub2) I have been able to create a usb drive with...</description>
			<content:encoded><![CDATA[<div>With the help of linux forums and especially the pendrivelinux.com site (booting linux isos with grub2) I have been able to create a usb drive with over twenty utilities and linux distributions. Recently I was toying with fedora 17/18. Although I can boot fedora live isos 16/17/18 from a usb thumb drive, I have not been successful at setting up fedora so that it is persistent (i.e., keeping any changes made to the system like adding applications). <br />
<br />
While playing around with fedora, I decided to try my hand at fedora/red hat derivatives like CentOS and Scientific Linux 6.3. By extracting the contents of the iso (# mount -o /path-to-iso /mnt) to a directory inside of the &quot;boot&quot; directory of the grub2-enabled drive and then placing a copy of the appropriate vmlinuz and initrd files (they are in the isolinux directory in the iso) inside of the same directory that I initially created (Scientific6.3), you can boot the CentOS 6.3 or the Scientific Linux 6.3 iso PROVIDED that you are using the August 24th (2012) version. Here is a copy of my grub.cfg menu entry (I'm including the entries for fedora 16 and 18 so that you can see how similar the process is):<br />
<br />
menuentry &quot;Scientific6.3-Live-Desktop ISO&quot; { <br />
 linux /boot/Scientific6.3/vmlinuz0  initrd=initrd0.img root=live:LABEL=MultiBootUS live_dir=/boot/Scientific6.3/LiveOS rootfstype=auto liveimg ro quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 splash -- <br />
 initrd /boot/Scientific6.3/initrd0.img <br />
} <br />
<br />
menuentry &quot;Fedora-18-64bit-Live-Desktop ISO&quot; { <br />
 linux /boot/Fedora18/vmlinuz0 initrd=initrd0.img root=live:LABEL=MultiBootUS live_dir=/boot/Fedora18/LiveOS rootfstype=auto persistent rw rd.live.image rd.live.overlay quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 <br />
 initrd /boot/Fedora18/initrd0.img <br />
} <br />
<br />
menuentry &quot;Fedora-16-i686-Live-Desktop ISO&quot; { <br />
 linux /boot/fedora16-i686/vmlinuz0 root=live:LABEL=MultiBootUS live_dir=/boot/fedora16-i686/LiveOS persistent rw rootfstype=vfat ro liveimg quiet rhgb rd.luks=0 rd.md=0 rd.md=0 rd.dm=0 <br />
 initrd /boot/fedora16-i686/initrd0.img <br />
} <br />
<br />
As I indicated above, if you use a Scientific Linux 6.3 iso that came out recently (Dec 24, 2012), you will invariably get a kernel panic when you try to boot. You can, however, (with a little tinkering) easily boot the newest edition of Fedora (18). Why on Earth do CentOS and Scientific developers go out of their way to make it impossible to boot their newest isos (even the same version) via grub2 while Fedora does not put up any such road-blocks?</div>

]]></content:encoded>
			<dc:creator>donatom</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog/donatom-638772/multibooting-live-isos-with-grub2-why-are-fedora-red-hat-derivatives-making-things-hard-35276/</guid>
		</item>
	</channel>
</rss>
