VMware: Difference between revisions
m →Live CD: add persistent 2nd partition to dd USB with fdisk |
|||
| Line 192: | Line 192: | ||
* http://download.opensuse.org/repositories/Education/images/iso/ | * http://download.opensuse.org/repositories/Education/images/iso/ | ||
* Newest versions of live .iso can be installed to USB/SD with dd command: | * Newest versions of live .iso can be installed to USB/SD with dd command: | ||
dd if=openSUSE-Sugar | |||
*(x)be careful to use correct device or you can wipe your hard disk! | |||
===========unformatted 2GB USB================== | |||
dd if=openSUSE-Sugar.i686-11.2.0-Build2.1.iso of=/dev/sd(x) bs=4M | |||
* | 151+1 records in | ||
151+1 records out | |||
636485632 bytes (636 MB) copied, 86.862 s, 7.3 MB/s | |||
Add 2nd Persistent Partition: | |||
fdisk /dev/sd(x) | |||
The number of cylinders for this disk is set to 1959. | |||
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/sd(x): 2055 MB, 2055019008 bytes | |||
64 heads, 32 sectors/track, 1959 cylinders | |||
Units = cylinders of 2048 * 512 = 1048576 bytes | |||
Disk identifier: 0x3e698287 | |||
Device Boot Start End Blocks Id System | |||
/dev/sd(x)1 * 1 607 621568 83 Linux | |||
Command (m for help): n | |||
Command action | |||
e extended | |||
p primary partition (1-4) | |||
p | |||
Partition number (1-4): 2 | |||
First cylinder (608-1959, default 608): | |||
Using default value 608 | |||
Last cylinder, +cylinders or +size{K,M,G} (608-1959, default 1959): | |||
Using default value 1959 | |||
Command (m for help): p | |||
Disk /dev/sd(x): 2055 MB, 2055019008 bytes | |||
64 heads, 32 sectors/track, 1959 cylinders | |||
Units = cylinders of 2048 * 512 = 1048576 bytes | |||
Disk identifier: 0x3e698287 | |||
Device Boot Start End Blocks Id System | |||
/dev/sd(x)1 * 1 607 621568 83 Linux | |||
/dev/sd(x)2 608 1959 1384448 83 Linux | |||
Command (m for help): w | |||
The partition table has been altered! | |||
Calling ioctl() to re-read partition table. | |||
Syncing disks. | |||
======Installation to VMWare hard disk (or Hard Disk)====== | ======Installation to VMWare hard disk (or Hard Disk)====== | ||
Sugar terminal: | Sugar terminal: | ||