[SoaS] dd creation of persistent USB using a clicfs .iso using fdisk to make partition 2
Thomas C Gilliard
satellit at bendbroadband.com
Fri Oct 30 14:06:22 EDT 2009
Here is the terminal output of the creation of a Persistent 4 GB SUGAR
USB using a clicfs .iso which then has a second partition added with fdisk.
It works.
Tom Gilliard
======================================================
# dd if=openSUSE-Sugar-live-unstable.i686-0.3.0-Build22.2.iso
of=/dev/sdg bs=4M
152+1 records in
152+1 records out
639631360 bytes (640 MB) copied, 118.261 s, 5.4 MB/s
-------------------------------------------------
# fdisk /dev/sdg
The number of cylinders for this disk is set to 3824.
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/sdg: 4009 MB, 4009754624 bytes
64 heads, 32 sectors/track, 3824 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x86803d76
Device Boot Start End Blocks Id System
/dev/sdg1 * 1 610 624640 83 Linux
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (611-3824, default 611):
Using default value 611
Last cylinder, +cylinders or +size{K,M,G} (611-3824, default 3824):
Using default value 3824
Command (m for help): p
Disk /dev/sdg: 4009 MB, 4009754624 bytes
64 heads, 32 sectors/track, 3824 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x86803d76
Device Boot Start End Blocks Id System
/dev/sdg1 * 1 610 624640 83 Linux
/dev/sdg2 611 3824 3291136 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
#
More information about the SoaS
mailing list