Difference between revisions of "Boot livecd ISO from HDD"

From Funtoo
Jump to navigation Jump to search
 
m (Removed spaces)
 
(6 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.
{{Note|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 :
{{console|body=
<pre>cp /home/user/downloads/systemrescuecd.iso /src.iso</pre>
###i## 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) :
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|body=
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
}}


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

Latest revision as of 17:46, June 24, 2015

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