Installation Tips

From antiX

Revision as of 11:02, 28 September 2012 by Anticapitalista (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Boot from iso on hard-disk

It is possible to boot and install from an antiX.iso file on hard-disk. You will need a spare partition on your hard drive and an existing grub menu (on livecd, floppy or hd). This is sometimes known as booting fromiso.

The basic steps are as follows.

  • Create and format (if you don't already have one) a separate partition to boot fromiso. For antiX it needs only be 800MB in size. I use ext3 format.
  • Download antiX.iso file to a folder and extract to the same folder the vmlinuz and initrd.gz files.
  • Add the correct entry to the existing grub menu.

Example: LinuxA with grub menu on sdb1 (hdb1), spare partition (ext3) on sdb6 (hdb6)

  • Make a directory/folder in sdb6 called antiX.
  • Download latest antiX.iso to /mnt/sdb6/antiX
  • Customise the boot/grub/menu.lst of LinuxA on sdb1 (hdb1). Add this entry to the end.

title antiX

kernel (hd1,5)/antiX/vmlinuz vga=791 fromhd=/dev/sdb6 fromiso=/antiX/antiX.iso en xres=1024x768

initrd (hd1,5)/antiX/initrd.gz


To extract the vmlinuz and initrd.gz files from the antiX.iso

1. Using mc (midnight commander).

  • Navigate to the directory where the antiX.iso file is kept. Press 'Enter'
  • Navigate to the antiX folder. Press 'Enter'
  • Highlight vmlinuz file, press F5, and copy to your antiX folder on sdb6.
  • Highlight initrd.gz file, press F5, and copy to your antiX folder sdb6.

2. Using command line

  1. mkdir -p /mnt/sdb6/antiX/test
  2. mount -t iso9660 -o loop,ro /mnt/sdb6/antiX/antiX.iso /mnt/sdb6/antiX/test

Now copy the vmlinuz and initrd.gz files from the mounted iso image to the directory

  1. cp /mnt/sdb6/antiX/test/antiX/vmlinuz /mnt/sdb6/antiX/
  2. cp /mnt/sdb6/antiX/test/antiX/initrd.gz /mnt/sdb6/antiX/
Personal tools