Posts: 682
Threads: 98
Joined: Apr 2014
Reputation:
0
02-03-2015, 01:08 PM
(This post was last modified: 02-04-2015, 04:00 PM by Scott(0).)
Is there a way to run LL2.2 from a USB stick instead of installing - Not as a Live presence , but as an alternative to installing on a hard Drive. Purpose to run totally independently from the PC/laptop/ With USB sticks now 64GB+, is there any need to install - i.e. just take the pre-installed stick (with OS & work files etc.) around with you and assuming you can get boot priority to USB, work on any pc/laptop at hand.
I can do this with puppy linux, but puppy limited to PETS etc. i.e not so convenient.
Thanks.
2006 - HP DC7700p ultraslim Desktop Intel 6300 cpu 4GB Ram LL3.8 64bit.
2007 - Fujitsu Siemens V3405 Laptop 2 GB Ram LL3.6 32bit. Now 32bit Debian 9 + nonfree.
2006 - Fujitsu Siemens Si1520 Laptop Intel T720 cpu 3GB Ram LL5.6 64 Bit
2014 - Fujitsu Siemens Lifebook E754 Intel i7 4712MQ 16GB Ram LL6.6
2003 - RETIRED Toshiba Satellite Pro A10 1 GB RAM LL2.8 32bit
Posts: 1,094
Threads: 19
Joined: Feb 2014
Reputation:
0
02-03-2015, 02:49 PM
(This post was last modified: 02-03-2015, 02:53 PM by gold_finger.)
Not a problem.
Boot from a live LL and plug in your target USB. Use GParted to get rid of the FAT partition on the USB first. Leave unpartitioned, or set up partitions for LL with GParted ahead of time.
Now run the installer. Choose the "Something else" install type. On partitioning page, select your USB stick and choose the free space to make your Root and Swap partitions (or select pre-made partitions and set their mount points); point the boot loader to the USB (/dev/sdb, or sdc, etc.) instead of /dev/sda; finish install.
Reboot into USB LL and run updates. Do not install a proprietary graphics driver if planning to use on multiple computers -- it will fail on computers that don't use that same type of graphics. Instead, leave with generic Linux drivers. Each boot up will load which ever one is appropriate for the machine it's on.
P.s. Assuming you won't be hibernating computer when using USB stick, don't bother wasting a lot of space for the Swap partition. You should be fine with no more than 1GB for Swap.
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
Hi,
I did more or less what gold_finger indicates, for me it was out of curiosity.
All I can say is, It worked, but was pretty slow.
If you have a number of USB sticks, find the the fastest one with:
Code: sudo hdparm -t --direct /dev/sdX
where X is the USB device
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 159
Threads: 11
Joined: Jan 2015
Reputation:
0
@WirezfreeWas that USB 2 or USB 3?
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
Hi,
It was on USB3, this is with my fastest USB3 stick, a PNY-32GB
Code: dave@asus-mini-1:~$ sudo hdparm -t --direct /dev/sdc1
/dev/sdc1:
Timing O_DIRECT disk reads: 252 MB in 3.00 seconds = 83.87 MB/sec
Compared to my Primary disk, SSD:
Code: dave@asus-mini-1:~$ sudo hdparm -t --direct /dev/sda
/dev/sda:
Timing O_DIRECT disk reads: 1520 MB in 3.00 seconds = 506.59 MB/sec
and my 2nd disk WD-Black:
Code: dave@asus-mini-1:~$ sudo hdparm -t --direct /dev/sdb
/dev/sdb:
Timing O_DIRECT disk reads: 314 MB in 3.00 seconds = 104.56 MB/sec
I guess "very slow" is perception.?
This is on a PC that was a very high spec Windows PC
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 159
Threads: 11
Joined: Jan 2015
Reputation:
0
I read a conversation with Ikey Docherty on google+ a few weeks ago where he was finding his USB 3 sticks slow so he tested them all and an Integral stick was 10X faster than any other USB stick he had, Corsairs etc so that's what I'll be getting next time.
Posts: 1,255
Threads: 21
Joined: Aug 2014
Reputation:
0
Quote:This netbook has no hard drive yet, <snip> I am running off of a persistent 8 gig pendrive made with unetbootin. One of those tiny PNY micro pen drives.
Sound, Tap on mousepad, Wireless, Sound, and wait for it , TOUCHSCREEN, all work.
https://www.linuxliteos.com/forums/index...;start=525
It ran faster than a conventional install like gold_finger mentioned.
I have also done those.
http://yatsite.blogspot.com/2009/07/inst...e-900.html
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Posts: 682
Threads: 98
Joined: Apr 2014
Reputation:
0
02-03-2015, 08:55 PM
(This post was last modified: 02-03-2015, 08:59 PM by newtusmaximus.)
Thanks. LL forum is a gold mine for newbies like myself.
Would an external usb ssd be better I wonder?? Faster??
2006 - HP DC7700p ultraslim Desktop Intel 6300 cpu 4GB Ram LL3.8 64bit.
2007 - Fujitsu Siemens V3405 Laptop 2 GB Ram LL3.6 32bit. Now 32bit Debian 9 + nonfree.
2006 - Fujitsu Siemens Si1520 Laptop Intel T720 cpu 3GB Ram LL5.6 64 Bit
2014 - Fujitsu Siemens Lifebook E754 Intel i7 4712MQ 16GB Ram LL6.6
2003 - RETIRED Toshiba Satellite Pro A10 1 GB RAM LL2.8 32bit
Posts: 159
Threads: 11
Joined: Jan 2015
Reputation:
0
(02-03-2015, 08:55 PM)newtusmaximus link Wrote: Thanks. LL forum is a gold mine for newbies like myself.
Would an external usb ssd be better I wonder?? Faster?? We were all new comers to Linux once friend, what was the hardest part of moving over to Linux, was it the partitioning?
Sometimes it's better to learn to walk before you start trying to run. ;D
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
I guess it will be like SD-Cards.?, some are much better than others.
I did some testing on the ones I had, again out of curiosity:
https://www.linuxliteos.com/forums/index...pic=1213.0
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
|