Difference between revisions of "Boot livecd ISO from HDD"

From Funtoo
Jump to: navigation, search
 
Line 1: Line 1:
With grub2 you can easily boot livecd image from hard drive.
+
With 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.
 
This is general example. I will add settings for different livecd's later.
  
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. Use 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 15:58, 11 January 2014

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

General guide

This is general example. I will add settings for different livecd's later.

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

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

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

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