The Wiki has moved to new hardware, and the old server died.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:slackware_admin:booting_install_from_hdd [2013/05/23 12:10 (UTC)]
whiz add boot from iso file with grub2
howtos:slackware_admin:booting_install_from_hdd [2013/05/23 12:33 (UTC)] (current)
whiz [GRUB-legacy]
Line 72: Line 72:
 <​note>​If you use a separate partition for ''/​boot'',​ then you must remove "/​boot"​ from any pathnames.</​note>​ <​note>​If you use a separate partition for ''/​boot'',​ then you must remove "/​boot"​ from any pathnames.</​note>​
  
 +
 +==== Boot ISO with GRUB2 ====
 +Add to ''/​etc/​grub.d/​40_custom'':​ <​file>​
 +menuentry "​Slackware 14 install (DVD)" {
 + ​insmod loopback
 + ​insmod iso9660
 + set isofile="/​slackware64-14.0-install-dvd.iso"​
 + ​loopback loop (hd0,​2)$isofile
 + linux (loop)/​kernels/​huge.s/​bzImage ​ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 SLACK_KERNEL=huge.s
 + ​initrd (loop)/​isolinux/​initrd.img
 +}
 +</​file>​
 +<​note>​(hd0,​2) means "//the second partition on the first drive//"​ (i.e. ''/​dev/​sda2''​). You can find the right value in the "''​set root''"​ command of the menu entry used to boot your system, or else consult with [[http://​www.gnu.org/​software/​grub/​manual/​grub.html|GRUB manual]]. </​note>​
 +Then update grub with: <​file>​
 + ​grub-mkconfig -o /​boot/​grub/​grub.cfg
 +</​file>​
 +<​note>​On Slackware before running grub-mkconfig you have to run ln -s /dev/sda2 /dev/root
 +where for sda2 you have to enter your root device.
 +</​note>​
 ===== Test It ===== ===== Test It =====
 Reboot your system and select SwSetup at boot prompt. Reboot your system and select SwSetup at boot prompt.

In Other Languages
QR Code
QR Code howtos:slackware_admin:booting_install_from_hdd (generated for current page)