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

From Sugar Labs
Jump to navigation Jump to search
(Created page with '{{TOCright}} == openSUSE Sugar-Desktop on a stick == * The openSUSE version is a .raw image that is burned to a stick by the dd command. It creates a usb stick that boots sugar-…')
 
m (→‎openSUSE Sugar-Desktop on a stick: dd of clicfs .iso and creation of persistent partition 2)
Line 2: Line 2:
 
== openSUSE Sugar-Desktop on a stick ==
 
== openSUSE Sugar-Desktop on a stick ==
  
* The openSUSE version is a .raw image that is burned to a stick by the dd command. It creates a usb stick that boots sugar-desktop with 55 applications.
+
* 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)
* '''This is a persistent live image on a stick''' (a file system is created on the stick on first boot)
+
* fdisk can create a persistent 2nd partition (see below)
 
+
* Details  http://en.opensuse.org/Sugar
* Installation of openSUSE.raw file to USB/SD: [[VMware#Image USB/SD Drives]]
 
  
* Download Link for .raw files:[[http://download.opensuse.org/repositories/Education/images/]]
 
 
* Details  http://en.opensuse.org/Sugar
 
===Dual Mode .iso Files===
 
NOTE: Latest versions of opensuse-edu-sugar.iso files can be burned to USB with dd command. "They are dual mode"
 
 
Download: [[http://download.opensuse.org/repositories/Education/images/iso/]]
 
Download: [[http://download.opensuse.org/repositories/Education/images/iso/]]
  
The resulting USB/SD has not got persistence. It is equivalent to Booting from the CD
+
Example record:
  
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...
 
*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.2.0-Build5.1.iso of=/dev/sd(x)* bs=4M
+
======================================================
  102+1 records in
+
  # dd if=openSUSE-Sugar-live-unstable.i686-0.3.0-Build22.2.iso of=/dev/sd(x) bs=4M
  102+1 records out
+
  152+1 records in
  428867584 bytes (429 MB) copied, 53.2686 s, 8.1 MB/s
+
  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.
 +
#

Revision as of 13:41, 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.
#