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: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: USB pen-drive partition< Next Oldest | Next Newest >
crew Offline





Group: Members
Posts: 18
Joined: July 2005
Posted: Sep. 05 2005,21:43 QUOTE

Hi all,

might it be big trouble to change the USB pen-drive script, that
it only formats a custom selected area on the pen-drive or only
e.g. 150 MB or 200 MB for DSL ?
Today even 512 MB USB sitcks are cheap and imho it´s a bit
annoying to have a > 512 MB FAT partition which is not writeable
for the DSL user.
Would be nice to boot DSL from USB stick and use it as storage too. :)

Cheers
Crew
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Sep. 06 2005,02:34 QUOTE

It is possible to write to a FAT partition from within DSL.

It is also possible to boot from the USB stick and use it as storage.
Back to top
Profile PM 
crew Offline





Group: Members
Posts: 18
Joined: July 2005
Posted: Sep. 06 2005,06:37 QUOTE

Quote (cbagger01 @ Sep. 05 2005,22:34)
It is possible to write to a FAT partition from within DSL.


Hi cbagger01,

how can you write as the DSL User on the stick ?

http://damnsmalllinux.org/cgi-bin....74;st=0
Back to top
Profile PM 
eco2geek Offline





Group: Members
Posts: 16
Joined: Aug. 2005
Posted: Sep. 06 2005,08:13 QUOTE

Quote
how can you write as the DSL User on the stick ?


I used the USB-ZIP method of creating a bootable USB key. It creates two partitions, one small one (~50MB) for the syslinux and cloop image files, and one that contains the rest of the space available on the key. The script formats them both as FAT16.

The first partition (sda1) is full, and the files there require root access to modify.

The second partition (sda2) is empty, avalable for you to save files to it (e.g. DSL extensions, config backups, documents, etc.).

So, just mount it and have at it. As the dsl user, at a bash prompt:

dsl@dslbox: mount /mnt/sda2

Save your files there. That's all.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Sep. 06 2005,16:10 QUOTE

If you are using DSL version 1.4, you should be able to write to the /cdrom (your FAT partition for a USBHDD installation) from the get-go.

If you type

mount

from within a terminal window, is /cdrom listed as read-only (ro) or read-write (rw)?
Back to top
Profile PM 
5 replies since Sep. 05 2005,21:43 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: USB pen-drive partition

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