A: There are currently three supported methods for installing PU_IAS Local 2
- CD-Rom (boot.iso)
- USB Flash Drive (diskboot.img)
- PXE Boot (pxeboot/)
Floppy booting is deprecated, instructions are included for previous releases.
cd-rom boot
Basic instructions for using cdrecord to burn boot.iso.
find your cd-rw drive first.
root@pu_ias images# cdrecord -scanbus
...
2,0,0 200) \'SONY \' \'DVD RW DRU-510A \' \'1.0b\' Removable CD-ROM
...
burn the image
root@pu_ias images# cdrecord -dev=2,0,0 -v boot.iso
...
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 334489
Starting to write CD/DVD at speed 10 in real TAO mode for single session.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
Starting new track at sector: 0
Track 01: 3 of 3 MB written (fifo 100%) buf 39% 150.7x.
Track 01: Total bytes read/written: 3244032/3244032 (1584 sectors).
Writing time: 8.480s
Average write speed 4.6x.
Fixating...
Fixating time: 24.931s
cdrecord: fifo had 52 puts and 52 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Note: If you are using a cd-rw, blank the cd first
root@pu_ias images# cdrecord -dev=2,0,0 -v blank=fast
...
Starting to write CD/DVD at speed 10 in real BLANK mode for single session.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time: 28.321s
usb boot
To use a usb flash drive as your boot device your bios needs to support usb booting. This is
sometimes called usb floppy drive booting, check your boot options in your bios setup (usually
at startup)
The usb boot image is a vfat filesystem approximately 5MB, you'll need at least an 8MB flash drive
(you can't buy less than 32 right now though). Make sure nothing important is on this drive, you're
going to wipe it out.
Insert the drive and check your logs for messages:
root@pu_ias images# dmesg | grep -A7 hub.c
hub.c: new USB device 00:1d.2-2, assigned address 2
scsi4 : SCSI emulation for USB Mass Storage devices
Vendor: LEXAR Model: JUMPDRIVE Rev: 1.02
Type: Direct-Access? ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
SCSI device sdb: 62464 512-byte hdwr sectors (32 MB)
sdb: Write Protect is off
sdb: sdb1
You may have to load some modules to get your usb flash drive working, usb-storage for instance...
From the above we know that the usb drive is
/dev/sdb, we can write out image to it.
root@pu_ias images# dd if=diskboot.img of=/dev/sdb
12288+0 records in
12288+0 records out
Now you can boot your machine with the usb flash drive. If you wish to mount the vfat filesystem that
you created, mount the whole device, not sdb1
root@pu_ias images# mount /dev/sdb /mnt/flash
root@pu_ias images# ls /mnt/flash
boot.msg initrd.img ldlinux.sys options.msg rescue.msg splash.lss vmlinuz
general.msg isolinux.bin memtest param.msg snake.msg syslinux.cfg
===pxeboot==
Please see the question on configuring pxeboot...
floppy boot
Floppy boot is no longer supported, the following instructions apply to previous releases.
Assuming your using the first floppy drive in your system (does anyone have 2 drives anymore?)
format the disk first if it isn\'t formated already
# fdformat /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... done
Verifying ... done
next copy the boot image onto the floppy
# dd if=boot.img of=/dev/fd0 bs=1440k
1+0 records in
1+0 records out
wait for the drive to finish and your prompt to return! patience, patience!
repeat for drvnet.img or bootnet.img