WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ash script to make live usb and usb home  (Read 2371 times)

Offline ulfr

  • Full Member
  • ***
  • Posts: 140
ash script to make live usb and usb home
« on: May 06, 2018, 06:45:29 PM »
hi all   
tinycore is the greatest
thanks for all the work creating it

1. does anyone have the ash script commands to make a live usb with syslinux and dd
i can make one that loads but i cant get the usb to be rw

2. another request
can anyone tell me how to use the usb as home
i made a 1 gig image with an ext2 filesystem on the usb
and can loop link it and write to it when tc has loaded
but i cant make it be recognized at boot 

any ideas are appreciated

thanks
ulfr 


Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: ash script to make live usb and usb home
« Reply #1 on: May 06, 2018, 06:54:30 PM »
1. does anyone have the ash script commands to make a live usb with syslinux and dd
i can make one that loads but i cant get the usb to be rw

What file system are you planing to use ?
How do you make your syslinux USB ?

2. another request
can anyone tell me how to use the usb as home
i made a 1 gig image with an ext2 filesystem on the usb
and can loop link it and write to it when tc has loaded
but i cant make it be recognized at boot 

Have you tried the bootcode "home=UUID=your-uuid" ?

Offline ulfr

  • Full Member
  • ***
  • Posts: 140
Re: ash script to make live usb and usb home
« Reply #2 on: May 06, 2018, 06:58:11 PM »
thanks for the reply  polikuo

1.  the usb has a fat32 filesystem
     syslinux has instructions on how to load it

2. i use home=sda1   as the bootcode  to try to get to the usb 

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: ash script to make live usb and usb home
« Reply #3 on: May 06, 2018, 07:09:46 PM »
1.  the usb has a fat32 filesystem
     syslinux has instructions on how to load it

Have you loaded dosfstools.tcz ?
IIRC, you would need that to have read/write access for a fat32 file system.

2. i use home=sda1   as the bootcode  to try to get to the usb 

I'd go for the UUID method.
To find out your UUID, type
Code: [Select]
blkid /dev/sda1

Offline ulfr

  • Full Member
  • ***
  • Posts: 140
Re: ash script to make live usb and usb home
« Reply #4 on: May 06, 2018, 07:15:11 PM »
thanks a lot

will try those suggestions

ulfr 

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: ash script to make live usb and usb home
« Reply #5 on: May 06, 2018, 09:12:29 PM »
Hi ulfr
2. i use home=sda1   as the bootcode  to try to get to the usb 
There's no guarantee as to which  dev file  will be assigned to a USB device. This is especially true if multiple USB devices are
connected and even more so if you plug it into a different computer. You want a unique way to identify your device and nothing
says unique like UUID.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: ash script to make live usb and usb home
« Reply #6 on: May 07, 2018, 12:32:53 AM »
dd will not be able to create a rw usb stick. Please use the installer, that's the easiest way
The only barriers that can stop you are the ones you create yourself.

Offline ulfr

  • Full Member
  • ***
  • Posts: 140
Re: ash script to make live usb and usb home
« Reply #7 on: May 07, 2018, 06:51:46 AM »
thanks for all the help

will do what you suggest

ulfr