Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 [3] 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Storing files on USB< Next Oldest | Next Newest >
takowl Offline





Group: Members
Posts: 6
Joined: April 2008
Posted: April 10 2008,19:14 QUOTE

Quote (Juanito @ April 10 2008,11:51)
The current "install to usb" menu in dsl makes two partitions as stated previously, but you can manually make a single fat/fat32 partition and boot using syslinux or a single ext2 partition and boot using extlinux and no doubt (I haven't tried) you could also use grub to boot either of these partitions.

Thanks, Juanito.

I'm afraid I didn't quite explain properly--I already have a single (1 GiB, FAT32) partition on my USB stick, with dsl-embedded booting from it. What I would like to do is to give (i.e. chown) a folder within the memory stick (mounted as /cdrom) to user dsl (i.e. the default user in dsl), so that I can write to it without becoming root. When I try this within dsl, it says that I do not have permission, even if I try to do it as root.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 10 2008,20:52 QUOTE

Quote (takowl @ April 10 2008,15:14)
I'm afraid I didn't quite explain properly--I already have a single (1 GiB, FAT32) partition on my USB stick, with dsl-embedded booting from it. What I would like to do is to give (i.e. chown) a folder within the memory stick (mounted as /cdrom) to user dsl (i.e. the default user in dsl), so that I can write to it without becoming root. When I try this within dsl, it says that I do not have permission, even if I try to do it as root.

That's probably mounted as RO.  Check `mount`

What's your boot parameters?  You could try adding the "frugal" cheatcode or maybe remounting the partition as RW.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 11 2008,04:10 QUOTE

This allows me to boot dsl from a 1GB usb stick formatted as a single ext2 partition:
Quote
[extlinux.conf]
DEFAULT linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=773 initrd=minirt24.gz nomce noapic quiet frugal toram syslog dma acpid restore=sda1  BOOT_IMAGE=knoppix
TIMEOUT 300


Folders as follows:
Code Sample
$ ls -l /mnt/sdc1
dr-xr-xr-x    2 root     root         4096 Jul 20  2007 KNOPPIX
drwxr-xr-x    3 dsl      staff        4096 Feb 16 03:19 backup
-rwxr-xr-x    1 root     root      1286928 Apr 11 01:24 backup.tar.gz
-rwxr-xr-x    1 root     root         2048 Jul 20  2007 boot.cat
-rwxr-xr-x    1 root     root          123 Jul 20  2007 boot.msg
drwxr-xr-x    4 dsl      staff        4096 Jul 21  2007 build
drwxr-xr-x    6 dsl      staff        4096 Apr 11 01:19 docs
drwxr-xr-x    3 dsl      staff        4096 Sep 28  2007 drivers
-rw-r--r--    1 root     root         2611 Feb 16 03:50 extlinux.conf
-r--r--r--    1 root     root        10072 Jul 20  2007 extlinux.sys
-rwxr-xr-x    1 root     root         1592 Jul 20  2007 f2
-rwxr-xr-x    1 root     root         1595 Jul 20  2007 f3
-rwxr-xr-x    1 root     root          256 Jul 20  2007 german.kbd
-rwxr-xr-x    1 root     root      1005209 Sep 17  2007 linux24
-rwxr-xr-x    1 root     root        33780 Jul 20  2007 logo.16
drwx------    2 root     root        16384 Jul 20  2007 lost+found
-rwxr-xr-x    1 root     root       856748 Feb 16 03:50 minirt24.gz
drwxr-xr-x    3 dsl      staff        4096 Apr  9 18:50 mydsl
drwxr-xr-x   13 dsl      staff        4096 Mar 27 19:27 source
drwxr-xr-x    3 dsl      staff        4096 Apr  5 09:47 tmp
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 12 2008,03:23 QUOTE

Not being a windows guy, does fat32 even support multiple permissions? Isn't that why there is/was UMSDOS and UVFAT?

If your requirement dictates a single partiton then I would suggest to use Juanito's method.
Back to top
Profile PM WEB 
takowl Offline





Group: Members
Posts: 6
Joined: April 2008
Posted: May 04 2008,23:11 QUOTE

Sorry I've not replied for a while--been busy with one thing and another.

It is possible to write to the mount--I can do so as superuser, and I have verified that the data is still there. I would essentially like to be able to do the same thing without logging in as root.

My preference is to make use of /cdrom, as I know it's consistent (regardless of how dsl is booted or on what system), and it's already formatted correctly for my purposes. If that's impossible, then fair enough...but I can't logically see why it would be impossible.
Back to top
Profile PM 
15 replies since April 09 2008,13:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: Storing files on USB

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code