Showing posts with label gutsy. Show all posts
Showing posts with label gutsy. Show all posts

Thursday, June 12, 2008

Ubuntu on usb stick with jdk

Installation 7.10 close to:
1. ubuntu-804-usb-hard-drive-install
(instructions more close to this one, but this version doesn't work - desktop doesn't appears)
2. ubuntu-704-to-a-usb-hard-drive
(pure documented instructions, and I didn't try this one due to old release date)

Than edit grub (without this step usb stick doesn't boot ubuntu, just grub menu appears on athescreen)
"sudo gedit /boot/grub/menu.lst"
remove all added at bottom from hard disk grub
and rename "hd1" for flash grub with "hd0"
You can edit this on fly in a loaded grub menu with "e" and boot edited with "b".

Run boot from USB storage.

After, you can comment swap space within /etc/fstab or exclude it while installation with manual prepare disk space. It makes faster your system.
"sudo gedit /etc/fstab"

Add network settings, sources of packages.
Install mc, jdk.

Copy tomcat.

PS:
0.
I used CD burned ubuntu 7.10 for i386 on my USB 4Gb OCZ ATV flash drive with Dell AMD 2x1.8 Ghz and 2Gb memory laptop.

1.
grub-error-21-after-full-install-to-usb-hard-drive
sudo grub
grub> find /boot/grub/stage1
(hdx,y) The given out values substitute below
grub> root (hdx,y)
grub> setup (hdx)
2.
You can create live usb stick (it is more faster than full process installation on USB), but there are error with install jdk.
usb-ubuntu-804-persistent-install-via-the-live-cd

Link:
www.stonewarewebos.com - webOS-Ubuntu-PressRelease.pdf
http://www.pendrivelinux.com/2008/05/08/usb-ubuntu-804-persistent-install-via-the-live-cd/

Wednesday, October 24, 2007

Ubuntu 7.10 update DVD or CD

Ubuntu 7.10 update DVD or CD-alternate iso placed virtual

Link to the ext article

Below I used "alexey" as my user name, change it.

1. download iso dvd

Download iso from page http://cdimage.ubuntu.com/releases/7.10/release/ (by torrent or direct download) to
/home/alexey/images/ubuntu-7.10-dvd-i386.iso

2. mount iso

sudo mkdir /media/ubuntu710dvd

sudo gedit /etc/fstab

"/home/alexey/images/ubuntu-7.10-dvd-i386.iso /media/ubuntu710dvd iso9660 ro,loop,auto"

sudo mount -a

3. configure software sources

sudo gedit /etc/apt/sources.list

"deb file:/media/ubuntu710dvd/ gutsy main restricted"

4. update

sudo apt-get update