View previous topic :: View next topic |
Author |
Message |
dirkfanick Apprentice
Joined: 12 Jan 2011 Posts: 201 Location: germany - hamburg
|
Posted: Thu Jun 16, 2011 2:44 pm Post subject: gentoo on live-usb |
|
|
Anyone experienced with gentoo-live-usb (syncs, upgrades, etc.)?
http://www.gentoo.org/doc/de/liveusb.xml
I think about trying it but if it's not like an gentoo-harddisc-system it wouldn't be worth the time for me. |
|
Back to top |
|
|
andrewthomas Tux's lil' helper
Joined: 27 Apr 2010 Posts: 93
|
Posted: Thu Jun 16, 2011 4:39 pm Post subject: |
|
|
I would by-pass the LiveUSB install and just do a regular install, treating the USB-stick as if it were a hard-disk.
You could even migrate a HD install over to a USB-stick as you would moving from one HD to another.
I would just make sure that you mount the partitions with noatime and forgo the swap partition. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Thu Jun 16, 2011 6:14 pm Post subject: |
|
|
the current LiveDVD images were made with a USB thumb drive in mind
you can even set them up with persistent storage
i don't, however, know if they have the full complement of wireless drivers included, which has long been one of the achilles heels of the gentoo .iso's
that guide itself wasnt geared towards doing much more than putting the minimal iso onto a usb drive rather than a CD. That same guide actually works just fine with systemrescuecd's iso, which is what i used and still use to do new gentoo installs. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
dirkfanick Apprentice
Joined: 12 Jan 2011 Posts: 201 Location: germany - hamburg
|
Posted: Fri Jun 17, 2011 1:32 pm Post subject: |
|
|
I've heard that usb-sticks have an limited amount of read&write jobs.
Does anyone know how long a stick can take it? (Compiling, etc).
Or is there a perfect mini-usb-linux? |
|
Back to top |
|
|
dirkfanick Apprentice
Joined: 12 Jan 2011 Posts: 201 Location: germany - hamburg
|
Posted: Thu Jun 23, 2011 1:25 pm Post subject: |
|
|
One disadvantage seems to be that a gentoo-usb won't run on every architecture 'cause of specific compilation.
May be I should get a i386 distro...
Or is every actual computer compatible with i686?
Maybe DamnSmallLinux. |
|
Back to top |
|
|
ade05fr Apprentice
Joined: 18 Sep 2006 Posts: 281
|
Posted: Sun Sep 11, 2011 5:39 am Post subject: |
|
|
Hi
i tried to install the new gentoo liveDVD to usb stick so i followed the handbook made for.
Unfortunately when i start my laptop it says "Missing Operating system" and boot to the window's default partition
Is there any solution for me ?
what did i do wrong ?
thanks for your help
ade05fr _________________ [LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30 |
|
Back to top |
|
|
dirkfanick Apprentice
Joined: 12 Jan 2011 Posts: 201 Location: germany - hamburg
|
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Mon Sep 12, 2011 7:54 pm Post subject: |
|
|
ade05fr wrote: | Hi
i tried to install the new gentoo liveDVD to usb stick so i followed the handbook made for.
Unfortunately when i start my laptop it says "Missing Operating system" and boot to the window's default partition
Is there any solution for me ?
what did i do wrong ?
thanks for your help
ade05fr |
You only need to dd the iso image to a usb stick for it to properly work, you don't need unetbootin at all. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Sep 12, 2011 10:29 pm Post subject: |
|
|
just get the new gentoo liveCD/DVD
dd it onto a usb. it now has a persistant fS associated with it _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
moijdikssekool n00b
Joined: 24 Aug 2011 Posts: 3
|
Posted: Sun Sep 18, 2011 11:23 pm Post subject: |
|
|
Quote: | just get the new gentoo liveCD/DVD
dd it onto a usb. it now has a persistant fS associated with it |
hi, i have installed gentoo thx to lili. I can't find any tuto on this distro (as in the USB Guide) and i have looked arround: i have a casper-rw file and added persist=casper-rw or live persistent to the boot (in syslinux.cfg). But nothing works.
Please could you do a simple tuto to make a usb persistent gentoo? |
|
Back to top |
|
|
dirkfanick Apprentice
Joined: 12 Jan 2011 Posts: 201 Location: germany - hamburg
|
|
Back to top |
|
|
moijdikssekool n00b
Joined: 24 Aug 2011 Posts: 3
|
Posted: Mon Sep 19, 2011 5:14 pm Post subject: |
|
|
yes, i tried both
with unetbootin, 'persistence' is written in the grub boot. But i have no persistence (i write a text with abiword or copy a file to documents, whatever the modifications i do, nothing is recorded on the disk. the led of the usb key doesn't blink when i save a document). I tried 'live persistence' and 'persist=casper-rw', but nothing either, i change the casper-rw to a brand new one (http://unetbootin.sourceforge.net/diskimg/), it doesn't work anymore
i have read it's related to a 'aufs' module. during the boot, i see mounting squashfs and aufs2, loading aufs and, just after, a file can't be found (cdupdate.sh), does it mean something?
anyway, with a fresh install from ubetbootin on windows, the persistent mode would be active?
i have checked the md5. Persistent mode work with some others distributions |
|
Back to top |
|
|
moijdikssekool n00b
Joined: 24 Aug 2011 Posts: 3
|
Posted: Mon Sep 19, 2011 9:38 pm Post subject: |
|
|
i 've just tried the dd method. I format the key in ext3 or FAT32, try both
dd if=/.../liveDVD...iso of=/dev/sdc or sda (I tried on 2 keys: On the first, key is /dev/sdc1, the second is /dev/sda)
the grub command are not persistent (so i add it at boot) and there is no casper-rw at the root
i can't access to the key on windows and on linux, the fs is read-only on linux, so i can't copy any casper-rw to the root
tries all this mess on 2computers (PIII and dual core). Whatever i do, recording fails
what the %!@#$? does the persitent mode work or not? |
|
Back to top |
|
|
robsta23 n00b
Joined: 21 Oct 2006 Posts: 15 Location: Dresden, Germany
|
Posted: Fri Aug 24, 2012 10:02 am Post subject: |
|
|
Hi at least on Gentoo Live 2012-1 getting persistence to work for me was not straight forward, following the FAQ notes on persistence, so I post what I have done and what I've found out:
1. Using the dd, I copied the live image to my 4 GB usb stick doing this according to the liveusb howto from gentoo is even better for the workaround to come cause you may need the usb live system partition writeable.
2. On the unformated part of the stick I created a ext3 file system with the empty file persistence-mode.
3. During boot with the persistence flag, this additional ext3 partition is not recognized and not even tested (on existence of the file persistence-mode). Only partitions on not removable devices were tested on boot.
4. So after switching to tty1, I did some digging around in the init.d script for persistence /etc/init.d/persistence and found the problem at line 56:
Code: | ((is_removable==1)) && continue |
meaning that for every removable device we skip the consequent loop for checking if this is the partition for persistence.
Consequently after changing this to
Code: | ((is_removable==0)) && continue |
the persistence script only analysis partitions on removable devices and persistence is now working.
To make this altered persistence script persistent you may have to mount, copy and repack the image.squashfs which comes with the live dvd image:
Code: |
mout -o loop image.squashfs <mount-point>
cp <mount-point>/* image_content/.
nano image_content/etc/init.d/persistence
mksquashfs image_content new_image.squashfs
mv new_image.squashfs image.squashfs
|
Can somebody tell how to persistently change grub kernel command line. I'm lazy and I don't want to put "persistence" on it everytime I boot my liveusb.
Also maybe someone of the devs might rebuild the iso.
Or should this not be a bug but a feature. At least for all x86 and 64 bit mashines I have access to with new motherboard i7 chips and my old nc4200 laptop the problem described above occured and was fixed by the proposed workaround.
cheers,
rob |
|
Back to top |
|
|
|