Difference between revisions of "Sugar on a Stick/Linux/openSUSE"

From Sugar Labs
Jump to navigation Jump to search
m (→‎openSUSE Sugar-Desktop on a stick: dd of clicfs .iso and creation of persistent partition 2)
Line 12: Line 12:
  
 
*be sure /dev/sd(x) points to your USB (can destroy your Hard Disk if wrong) use Partition Manager to see proper label...
 
*be sure /dev/sd(x) points to your USB (can destroy your Hard Disk if wrong) use Partition Manager to see proper label...
======================================================
+
---------------------------------------------------------------
 
  # dd if=openSUSE-Sugar-live-unstable.i686-0.3.0-Build22.2.iso of=/dev/sd(x) bs=4M
 
  # dd if=openSUSE-Sugar-live-unstable.i686-0.3.0-Build22.2.iso of=/dev/sd(x) bs=4M
 
  152+1 records in
 
  152+1 records in

Revision as of 14:42, 30 October 2009

openSUSE Sugar-Desktop on a stick

  • The openSUSE version is a clicfs "dual mode" image that is burned to a stick by the dd command.
  • If just dd is used, creates a CD image on a USB. (Useful for Netbooks with no CD Drive)
  • fdisk can create a persistent 2nd partition (see below)
  • Details http://en.opensuse.org/Sugar

Download: [[1]]

Example record:

  • be sure /dev/sd(x) points to your USB (can destroy your Hard Disk if wrong) use Partition Manager to see proper label...
---------------------------------------------------------------
# dd if=openSUSE-Sugar-live-unstable.i686-0.3.0-Build22.2.iso of=/dev/sd(x) bs=4M
152+1 records in
152+1 records out
639631360 bytes (640 MB) copied, 118.261 s, 5.4 MB/s

---------------Create Persistent Partition---------------------
# fdisk /dev/sd(x)

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/sd(x)1   *           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/sd(x)1   *           1         610      624640   83  Linux
/dev/sd(x)2             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.
#