Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on live-usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Thu Jun 16, 2011 2:44 pm    Post subject: gentoo on live-usb Reply with quote

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
View user's profile Send private message
andrewthomas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2010
Posts: 93

PostPosted: Thu Jun 16, 2011 4:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Jun 16, 2011 6:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Fri Jun 17, 2011 1:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Thu Jun 23, 2011 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 223

PostPosted: Sun Sep 11, 2011 5:39 am    Post subject: Reply with quote

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 2013-0
kernel 3.17.4
gnome 3.12
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Mon Sep 12, 2011 3:17 pm    Post subject: Reply with quote

Try this:

http://unetbootin.sourceforge.net/

And configure your bios to boot from usb first.
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 743
Location: Brooklyn, New York

PostPosted: Mon Sep 12, 2011 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4488
Location: Removed by Neddy

PostPosted: Mon Sep 12, 2011 10:29 pm    Post subject: Reply with quote

just get the new gentoo liveCD/DVD

dd it onto a usb. it now has a persistant fS associated with it
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
moijdikssekool
n00b
n00b


Joined: 24 Aug 2011
Posts: 3

PostPosted: Sun Sep 18, 2011 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Mon Sep 19, 2011 3:17 pm    Post subject: Reply with quote

Tried this?

http://unetbootin.sourceforge.net/
Back to top
View user's profile Send private message
moijdikssekool
n00b
n00b


Joined: 24 Aug 2011
Posts: 3

PostPosted: Mon Sep 19, 2011 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
moijdikssekool
n00b
n00b


Joined: 24 Aug 2011
Posts: 3

PostPosted: Mon Sep 19, 2011 9:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
robsta23
n00b
n00b


Joined: 21 Oct 2006
Posts: 12
Location: Dresden, Germany

PostPosted: Fri Aug 24, 2012 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum