WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How can i mount /home after booting?  (Read 3484 times)

Offline schultze

  • Newbie
  • *
  • Posts: 5
How can i mount /home after booting?
« 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: How can i mount /home after booting?
« Reply #1 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".

Offline schultze

  • Newbie
  • *
  • Posts: 5
Re: How can i mount /home after booting?
« Reply #2 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

Offline fratermus

  • Newbie
  • *
  • Posts: 9
Re: How can i mount /home after booting?
« Reply #3 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.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How can i mount /home after booting?
« Reply #4 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

10+ Years Contributing to Linux Open Source Projects.