WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: No persistance on USB flash drive  (Read 7793 times)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: No persistance on USB flash drive
« Reply #15 on: January 04, 2010, 04:36:47 PM »
Not to put the Wiki down, but  be aware that Wikis are set up for the user community.
It is user documentation for users by users and does not necessarily represent the official view.
Or in this case, was likely created before the usbinstall script was created.
Tiny Core's development moves fast so documentation is always trying to catch up.
10+ Years Contributing to Linux Open Source Projects.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: No persistance on USB flash drive
« Reply #16 on: January 04, 2010, 07:57:46 PM »
Not to put the Wiki down, but  be aware that Wikis are set up for the user community.
It is user documentation for users by users and does not necessarily represent the official view.
Or in this case, was likely created before the usbinstall script was created.
Tiny Core's development moves fast so documentation is always trying to catch up.
USBInstall is the second heading on the wiki page, and yet people still miss it. Maybe somebody could update the USB install page and break it up into two pages - Move everything but using the USBInstall script to a separate page, and provide a link to "The Hard Way". Then people WILL see the easy way, and have to very deliberately try to access "The Hard Way" if they want to do it themselves.

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: No persistance on USB flash drive
« Reply #17 on: January 08, 2010, 09:01:25 AM »
Quote
You could even use unetbootin to boot up Tiny Core with base norestore and turn around run the usbinstall script to make a properly configured pendrive. But no. That would be too easy.
it would be natural if somebody would try to use only tinycore on it. i've already got puppy linux on the pendrive and i wanted to plug tinycore to the bootloader as well. it works, but i have the issue with tce=

for me, it's just that i cannot map the tce partition via UUID - for some strange reason pendrive is mapped as sdb, regardless of whether i boot off hdd or pendrive. no guarantee it'll be the same on some other pc.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: No persistance on USB flash drive
« Reply #18 on: January 08, 2010, 09:10:31 AM »
If you have a /tce directory on a partition which can be mounted and read by the base system, it will be found by TC and first used, you do not have to know the mounting point. For example you can boot from CD and automatically use a /tce dir on HD or USB partition with ext2/ext3/fat partition.

« Last Edit: January 08, 2010, 09:32:21 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: No persistance on USB flash drive
« Reply #19 on: January 12, 2010, 06:52:23 AM »
If you have a /tce directory on a partition which can be mounted and read by the base system, it will be found by TC and first used, you do not have to know the mounting point. For example you can boot from CD and automatically use a /tce dir on HD or USB partition with ext2/ext3/fat partition.


that didn't seem to happen last time i tried. it was a 2gb ext2 partition and /tce was there (although empty).

i'll try again with fat partition, maybe that will work.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: No persistance on USB flash drive
« Reply #20 on: January 12, 2010, 06:35:23 PM »
Stick with the ext2 format.  If this is a USB drive, don't forget the waitusb=5 boot option.

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: No persistance on USB flash drive
« Reply #21 on: January 13, 2010, 05:21:48 AM »
If this is a USB drive, don't forget the waitusb=5 boot option.
i've never needed it so far. maybe it's just what  i need.

Offline reidi

  • Newbie
  • *
  • Posts: 13
Re: No persistance on USB flash drive
« Reply #22 on: January 16, 2010, 11:59:33 PM »
and extlinux bootloader.
Ah-ha, so at least one other person uses it then :)

I configured my first TC pendrive in December.  Somehow I did that using extlinux on an ext2 filesystem.  I simply cannot find that procedure now.  The current usbinstall/USB_installation process only uses a FAT 16 or 32 filesystem as far as I can tell.

Can you point me to a procedure where I can use an ext2/3 file system and preferably an extlinux loader (as opposed to GRUB)?

Thanks.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: No persistance on USB flash drive
« Reply #23 on: January 17, 2010, 12:23:47 AM »
I think that script has an ext2 part to it...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798

Offline reidi

  • Newbie
  • *
  • Posts: 13
Re: No persistance on USB flash drive
« Reply #25 on: January 17, 2010, 01:17:56 AM »
see http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/syslinux.tcz.info

Thank you, that is about as concise as one can get.  I found that this line:

$ sudo extlinux /mnt/sda1/boot/extlinux     is possibly incorrect.  I used:

$ sudo extlinux -i /mnt/sda1/boot/extlinux

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: No persistance on USB flash drive
« Reply #26 on: January 17, 2010, 01:45:44 AM »
Thanks - info file updated.

..so, did it work? Can you boot with extlinux now?

Offline reidi

  • Newbie
  • *
  • Posts: 13
Re: No persistance on USB flash drive
« Reply #27 on: January 17, 2010, 02:21:47 AM »
Thanks - info file updated.

..so, did it work? Can you boot with extlinux now?

Yes, it works beautifully.  (Have not tried an ext3 fs, but the ext2 works just fine.)  Thanks!

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: No persistance on USB flash drive
« Reply #28 on: January 18, 2010, 08:28:17 AM »
yup, it seems that waitusb parameter made it work. now it works great with tce=UUID=... option.