WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline ulfr

  • Full Member
  • ***
  • Posts: 153
ash script to make live usb and usb home
« on: May 06, 2018, 09: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: 758
Re: ash script to make live usb and usb home
« Reply #1 on: May 06, 2018, 09: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: 153
Re: ash script to make live usb and usb home
« Reply #2 on: May 06, 2018, 09: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: 758
Re: ash script to make live usb and usb home
« Reply #3 on: May 06, 2018, 10: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: 153
Re: ash script to make live usb and usb home
« Reply #4 on: May 06, 2018, 10:15:11 PM »
thanks a lot

will try those suggestions

ulfr 

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: ash script to make live usb and usb home
« Reply #5 on: May 07, 2018, 12:12:29 AM »
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: 11049
Re: ash script to make live usb and usb home
« Reply #6 on: May 07, 2018, 03: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: 153
Re: ash script to make live usb and usb home
« Reply #7 on: May 07, 2018, 09:51:46 AM »
thanks for all the help

will do what you suggest

ulfr