Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: schultze on May 12, 2009, 05:25:40 AM

Title: How can i mount /home after booting?
Post by: schultze on May 12, 2009, 05:25:40 AM
Hi,

i have TCL on a USB Stick with two partitions. One small with FAT and one bigger with ext2. The ext2partition should be used for /tce and /home independent on wich computer it will run.
/tce will be found automatically, but /home not. Before booting i don't know what device the Stick will be, so i cannot give it as boot option.
Is it possible, to mount /home after booting, when i know wich device the Stick is?

Thank's,

Schultze
Title: Re: How can i mount /home after booting?
Post by: Juanito on May 12, 2009, 05:42:59 AM
If you search the forums, there are a couple of posts about using labels or UUID to boot from usb sticks, this making them "device-name independent".
Title: Re: How can i mount /home after booting?
Post by: schultze on May 12, 2009, 07:19:24 AM
Thank's for your hint. I found these - http://tinycorelinux.com/faq.html#pendrives

Now it runs.

Schultze
Title: Re: How can i mount /home after booting?
Post by: fratermus on November 27, 2009, 08:50:29 PM
If you search the forums, there are a couple of posts about using labels or UUID to boot from usb sticks, this making them "device-name independent".

Going to busybox-provisioned 'mount' breaks UUID/label mounting, I think.
Title: Re: How can i mount /home after booting?
Post by: roberts on November 27, 2009, 11:17:20 PM
Boot options remain the same:

For Tiny Core boot options use:
tce=LABEL=tinycore home=LABEL=tinycore opt=LABEL=tinycore restore=LABEL=tinycore

or

tce=UUID=4773-DFE2 home=UUID=4773-DFE2 opt=UUID=4773-DFE2 restore=UUID=4773-DFE2

Labels and uuid are resolved to device names by blkid -L label or blkid -U uuid