[Nepal] Bootables NEXS USB key how to

Prithak Sharma prithak at olenepal.org
Tue Dec 2 03:00:15 EST 2008


Step For Transferring the ISO image to the USB disk

[1] Insert the USB key
[2] HAL Deamon will automatically  mount it ; so you need to unmount it
[3] Type fdisk -l
[root at localhost ~]# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00066ad6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          26      208813+  83  Linux
/dev/sda2              27       12773   102390277+  83  Linux
/dev/sda3           12774       12904     1052257+  82  Linux swap / Solaris
/dev/sda4           12905       30401   140544652+   5  Extended
/dev/sda5           12905       30401   140544652   83  Linux

Disk /dev/sdd: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders
Units = cylinders of 2250 * 512 = 1152000 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               4        3487     3917824    b  W95 FAT32

[4] The disk that you are seeing in the end is the USB drive ; just umount
it
[root at localhost ~]# umount /dev/sdd1

[5] Use fdisk to create a new partition

[root at localhost ~]# fdisk /dev/sdd

The number of cylinders for this disk is set to 3486.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdd: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders
Units = cylinders of 2250 * 512 = 1152000 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               4        3487     3917824    b  W95 FAT32

Command (m for help):

[5.2] Delete all the partitions using 'd' key

Command (m for help): d
Selected partition 1

Command (m for help): p

Disk /dev/sdd: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders
Units = cylinders of 2250 * 512 = 1152000 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System

Command (m for help):

[5.3] Create a new partition [ press p then enter, then press 1 and press
enter then press enter twice ]

[5.4]  List the partions [ press p and enter]

Command (m for help): p

Disk /dev/sdd: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders
Units = cylinders of 2250 * 512 = 1152000 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1        3486     3921737+  83  Linux

Command (m for help):

[5.5] Toggle boot flag [ press a then press enter, press 1 and press enter]

Disk /dev/sdd: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders
Units = cylinders of 2250 * 512 = 1152000 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1        3486     3921737+  83  Linux

Command (m for help): a
Partition number (1-4): 1

Command (m for help): p

Disk /dev/sdd: 4016 MB, 4016046080 bytes
90 heads, 25 sectors/track, 3486 cylinders
Units = cylinders of 2250 * 512 = 1152000 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1        3486     3921737+  83  Linux

Command (m for help):

[5.6] Please make sure that when you print the partitions there is a * sign
under the boot column

[5.7] Write the partition change [ press w ]

[6] Make ext3 filesystem :

[root at localhost ~]# mkfs.ext3 /dev/sdd1

[7] Transfer the iso image to the new drive (make sure that you specify the
partiton /dev/sdd1 instead of the disk (/dev/sdd)):

[root at localhost ~]# livecd-iso-to-disk /tmp/build-temp/copy-of-iso/live.iso
/dev/sdd1

press enter to continue the transfer

[8] Try booting from the usb and test the bootable usb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/nepal/attachments/20081202/be4081f1/attachment.htm 


More information about the Nepal mailing list