Sugar on a Stick/Linux/Non-compressed Fedora: Difference between revisions
m add liveinst install to USB/SD |
Inkyfingers (talk | contribs) Proposed for Archive |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Box|margin=120px|indent=0px|bgcolor=lightgrey | ||
== | |<big>'''Proposed for Archive'''.</big> | ||
It has been proposed that this page be regarded as an archive. It could be marked '''"Archive"''' or it could be moved to an '''Archive location.''' --[[User:Inkyfingers|Inkyfingers]] 18:53, 4 March 2012 (EST) | |||
Please contribute to the discussion on the [[:{{NAMESPACE}} talk:{{PAGENAME}}|talk page]]. | |||
}} | |||
== | {{TOCright}} | ||
== Full Fedora 13 Install of Sugar-Desktop on a Stick to USB == | |||
Uses [[wikipedia:Logical_Volume_Manager_(Linux)|Logical Volume Manager (LVM)]] layer over the file structure on the USB flash drive. Other methods on this page install a LiveUSB image that uses a compressed file system ([[wikipedia:SquashFS|SquashFS]]) to hold the system and content. | |||
====Make your OWN Custom SUGAR-DESKTOP USB Boot Stick==== | ====Make your OWN Custom SUGAR-DESKTOP USB Boot Stick==== | ||
* Uses Fedora | * Uses Fedora Net Install CD,[http://mirrors.cat.pdx.edu/fedora/linux/releases/13/Fedora/i386/iso/][http://mirrors.cat.pdx.edu/fedora/linux/releases/13/Fedora/i386/iso/Fedora-13-i386-netinst.iso Fedora-13-i386-netinst.iso] so best with a fast internet connection. | ||
* USB 2.0 recommended or install would take a excessive time using USB 1.0 | * USB 2.0 recommended or install would take a excessive time using USB 1.0 | ||
* '''Requires 4-GB USB drive.''' (Tested with Cruzer Micro USB Stick, an 8-GB Toshiba USB drive works faster.) | * '''Requires 4-GB USB drive.''' (Tested with Cruzer Micro USB Stick, an 8-GB Toshiba USB drive works faster.) | ||
| Line 44: | Line 28: | ||
# install boot loader Fedora/dev/mapper/VolGroup-lv_root | # install boot loader Fedora/dev/mapper/VolGroup-lv_root | ||
# enable network interface (DHCP, IPv4) | # enable network interface (DHCP, IPv4) | ||
# retrieve install informtion for Fedora | # retrieve install informtion for Fedora 13-i386 | ||
# Select customize now | # Select customize now | ||
## sugar-desktop ONLY / deselect gnome-desktop | ## sugar-desktop ONLY / deselect gnome-desktop | ||
## deselect other unwanted applications in categories (Games, etc) | ## deselect other unwanted applications in categories (Games, etc) | ||
#: Installer will reformat drive; install bootloader; transfer | #: Installer will reformat drive; install bootloader; transfer xxx packages (about 2 hours) | ||
#reboot | #reboot | ||
# Configuration setup (Graphical), add user and password on first boot | # Configuration setup (Graphical), add user and password on first boot | ||
| Line 57: | Line 41: | ||
*''' This procedure can be used with a Windows PC if it will boot from CD''' | *''' This procedure can be used with a Windows PC if it will boot from CD''' | ||
====8 GB Gnome/Sugar-Desktop USB==== | ====8 GB Gnome/Sugar-Desktop USB==== | ||
*''' install gnome or KDE desktop with this technique and then, use add/remove programs to install sugar from other desktops''' | *''' install gnome or KDE desktop with this technique and then, use add/remove programs to install sugar from other desktops''' | ||
| Line 63: | Line 47: | ||
*''' you get a 8GB USB that boots either gnome or sugar (8 GB Toshiba USB)''' | *''' you get a 8GB USB that boots either gnome or sugar (8 GB Toshiba USB)''' | ||
This Works well....can switch back between desktops by logging off and back on. | This Works well....can switch back between desktops by logging off and back on. | ||
====Use liveinst command in terminal==== | |||
* burn .iso to CD | |||
* boot PC from CD and start sugar | |||
* log in Name and select colors | |||
* go to upper right area of sugar's frame and select application lists | |||
* start sugar terminal type su - | |||
* root terminal # type liveinst (a part of Anaconda installer) this will start graphical installation | |||
* do normal install. (This works for Hard Disk or VM Installs ) | |||
===== If USB/SD (4GB for SOAS and 8GB for F12-edu images)===== | |||
* select custom install | |||
* make new partitions: | |||
Label Size file-type | |||
/boot 200 ext2 | |||
/ 3000 ext4 (5000 for f12-edu) | |||
(no swap) | |||
*These are persistent USB/SD's and can be duplicated by dd command (see below) | |||
IF NOT LOGGED INTO FOR FIRST TIME | |||
===='''AUTO Login to SUGAR'''==== | ===='''AUTO Login to SUGAR'''==== | ||
| Line 108: | Line 110: | ||
'''Example of sucessful clone session:'''' | '''Example of sucessful clone session:'''' | ||
=====Make Image from USB:===== | =====Make Image from USB/SD:===== | ||
* 8-GB Toshiba USB | NOTE This should be done on NEWLY BUILT USB before using it. THIS COPIES EVERYTHING ON IT EXACTLY including | ||
all of the things you have entered on it. | |||
*If you have logged in and selected Name and Color's | |||
see below to remove personalisation in /.sugar directory on a USED USB/SD | |||
* SAMPLE: 8-GB Toshiba USB | |||
root@xxxxx:/home/robert/Desktop# dd if=/dev/sda* of=USB8.img | root@xxxxx:/home/robert/Desktop# dd if=/dev/sda* of=USB8.img | ||
15687680+0 records in | 15687680+0 records in | ||
15687680+0 records out | 15687680+0 records out | ||
8032092160 bytes (8.0 GB) copied, 421.146 s, 19.1 MB/s | 8032092160 bytes (8.0 GB) copied, 421.146 s, 19.1 MB/s | ||
=====Deleting /.Sugar Directory===== | |||
*in Sugar Terminal: | |||
rm -rf ~/.sugar | |||
su - | |||
<password> | |||
shutdown -h now | |||
=====use image to write USB Clone:===== | =====use image to write USB Clone:===== | ||