Difference between revisions of "Boot livecd ISO from HDD"

From Funtoo
Jump to navigation Jump to search
 
(Added a link to the grub page.)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
With grub2 you can easily boot livecd image from hard drive.
With [[Grub| grub2]], you can easily boot a livecd image from your hard drive.
 


== General guide ==
== General guide ==
This is general example. I will add settings for different livecd's later.
{{fancynote| This is general example. It may not work with all livecds.}}


1. Copy the iso image to root folder for simplicity :
1. Copy the iso image to root folder for simplicity:
<pre>cp /home/user/downloads/systemrescuecd.iso /src.iso</pre>
<console>
###i## cp /home/user/downloads/systemrescuecd.iso /src.iso
</console>


2. Reboot and when grub2 loads press 'c' for console. Use following commands (tab autocompletion is your friend) :
2. Reboot and when grub2 loads press 'c' for console. Run the following commands (tab autocompletion is your friend):
<pre>loopback loop (hd0,2)/src.iso
<console>
loopback loop (hd0,2)/src.iso
linux (loop)/boot/vmlinuz
linux (loop)/boot/vmlinuz
initrd (loop)/boot/initrd.lz
initrd (loop)/boot/initrd.lz
boot</pre>
boot
</console>


[[Category:HOWTO]]
[[Category:HOWTO]]

Revision as of 18:09, June 27, 2014

With grub2, you can easily boot a livecd image from your hard drive.

General guide

   Note
This is general example. It may not work with all livecds.

1. Copy the iso image to root folder for simplicity:

root # cp /home/user/downloads/systemrescuecd.iso /src.iso

2. Reboot and when grub2 loads press 'c' for console. Run the following commands (tab autocompletion is your friend):

loopback loop (hd0,2)/src.iso
linux (loop)/boot/vmlinuz
initrd (loop)/boot/initrd.lz
boot