Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Boot livecd ISO from HDD"
Jump to navigation
Jump to search
(Added a link to the grub page.) |
m (Removed ugly white box around {{note}}, updated from <console> to {{console}}) |
||
Line 1: | Line 1: | ||
With [[Grub| | With [[Grub| GRUB2]], you can easily boot a livecd image from your hard drive. | ||
== General guide == | == General guide == | ||
{{ | {{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= | |||
###i## cp /home/user/downloads/systemrescuecd.iso /src.iso | ###i## 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): | 2. Reboot and when grub2 loads press 'c' for console. Run the following commands (tab autocompletion is your friend): | ||
{{console|body= | |||
loopback loop (hd0,2)/src.iso | 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 | boot | ||
}} | |||
[[Category:HOWTO]] | [[Category:HOWTO]] |
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