Linux-Noob Forums
Network install from USB key - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: Network install from USB key (/thread-3012.html)



Network install from USB key - d03boy - 2004-12-10


ComputerA and ComputerB

A has windowsxp. B will soon have mandrake (currently has slack)

 

I dont have floppy drives, or cd's at the moment

 

I have all 3 mandrake cd's in iso format on computer A

 

I want to install drake on computer B using a net install

 

I need to know:
  • How to make my usb key bootable

  • How to put net.img (or whatever I need) onto the USB key

  • After booting from it, any info would be helpful





Network install from USB key - johnnyh - 2004-12-11


Assuming your Slack box sees your USB key as /dev/sda1 and assuming your Mandrake boot ISO is called boot.iso, do the following.

 

# mkdosfs /dev/sda1

# syslinux /dev/sda1

# mkdir /mnt/iso

# mkdir /mnt/usb

# mount -t iso9660 boot.iso /mnt/iso -o loop

# mount -t vfat /dev/sda1 /mnt/usb

# cp /mnt/iso/isolinux/vmlinuz /mnt/usb

# cp /mnt/iso/isolinux/initrd.img /mnt/usb

# vi /mnt/usb/syslinux.cfg

 

--- syslinux.cfg ---

default vmlinuz

append initrd=initrd.img ramdisk_size=8192

--- end syslinux.cfg ---

 

# umount /mnt/iso

# umount /mnt/usb

 

Your USB key should now be bootable. Getting XP to mount the ISO images and getting Linux to see them on the NTFS system will take some doing, mind you. If you have the space on your HDD, copy the ISO images to a separate partition on Box B, mount them during install, and go from there.

 

HTH