Showing posts with label persistent. Show all posts
Showing posts with label persistent. Show all posts

Sunday, May 31, 2015

Live persistent UEFI Bootable USB stick of Ubuntu 15.04.

I had purchased one 32 GB USB stick to back up Windows 8.1 installation on my Lenovo G50-45 Laptop before installing Ubuntu 14.04 in dual boot. Since the dual boot is working well and Windows recovery partition already exists on the Laptop I decided to have Live persistent Ubuntu 15.04 on the stick.

I created 2 GB Fat32 partition, 4 GB ext4 partition with label casper-rw and another 4 GB ext4 home-rw partition on the USB stick. Then I used start up disk creator to put Ubuntu 15.04 on Fat32 partition.

After booting I found that persistence did not work on UEFI machines since there was a bug in live usb creator. The work around was to edit the /boot/grub/grub.cfg file and put "persistent" before "quiet splash" in the menuentry.

Now my wifi settings and documents are avaiable on reboot.

I will try updating the system later on. Upgrades to packages like Firefox worked but when I upgraded the linux kernel I could not boot with or even without persistent boot parameter.

Today I made full install of Ubuntu 15.04 on the USB stick.

Friday, May 29, 2009

Booting sidux from iso with persistent

I wanted to try sidux since long time. I downloaded the KDE lite version and searched on Google for 'sidux boot from iso' and got the page Booting with "fromiso" of sidux manual.

I created sidux folder at the root of an ext3 partition and copied the iso, vmlinuz and initd.img as per instructions and created following entry in /boot/grub/menu.lst

title sidux 32bit from ISO
kernel (hd0,X)/sidux/vmlinuz boot=fll quiet vga=791 fromiso=/sidux/sidux.iso persist
initrd (hd0,X)/sidux/initrd.img

After booting into sidux KDE 3.5.10 desktop I configured static IP through Ceni. Then I added noxorgconf and nonetwork boot parameters so that sidux does not create xorg.conf and reconfigures the network on reboot.

Since I don't like browsing with Konqueror I installed Iceweasel.

After reboot I found my static IP configuration intact and Iceweasel available.

The persist boot parameter creates folder fll at the root of same partition and uses the remaining space on the partition.

Sunday, March 22, 2009

Debian Live LXDE persistent mode

I was very happy that Debian Lenny had Live LXDE Desktop CD. I had tried it briefly earlier. Today I decided to use the persistent mode i.e. changes saved in live-rw file and used on reboot.

As always I copied the contents of Debian Live LXDE iso to a 1 GB partition and edited /boot/grub/menu.lst to make following entries:
title Debian Live LXDE
root (hd0,7)
kernel /live/vmlinuz1 boot=live union=aufs ip=frommedia swapon timezone=Asia/Kolkata persistent noprompt
initrd /live/initrd1.img
Explanation of boot parameters:
boot=live union=aufs This is copied from live.cfg file in isolinux directory
ip=frommedia This tells the system to read configuration from /etc/network/interfaces saved from earlier boots.
persistent This tells the system to look for live-rw home-rw partitions or files on the hard disk
noprompt This tells the system not to wait for removing Live CD on shutdown/restart

For persistent media I created live-rw on one partition (mounted at /media/disk) as follows:
$ dd if=/dev/null of=live-rw bs=512M seek=1
$ /sbin/mkfs.ext2 -F live-rw
$ sudo mv live-rw /media/disk
Just to check that persistent includes the installed .debs I installed ttf-indic-fonts:
$ sudo apt-get install ttf-devanagari-fonts
and the fonts are available on reboot.

All my personal settings are available, although, I did not create separate home-rw because live-rw includes changes to /home/user

Automation of entries of shopping in Gnucash on Endless OS with the help of Gemini.

  When I buy something and make payment sms immediately comes on mobile. I enter the transactions in Gnucash on Laptop with Endless OS manua...