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

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

reply to topic new topic new poll
Topic: Writing back to the USB stick, you've booted from... difficult...< Next Oldest | Next Newest >
RRRR Offline





Group: Members
Posts: 29
Joined: July 2004
Posted: April 29 2007,00:57 QUOTE

I've installed DSL embedded on a USB stick and installed syslinux to it, and it boots OK. However, one of the points of booting DSL off an USB stick will be that, unlike CD, you can write back to it. But I enter a couple of issues here. (This is all about booting from the stick, BTW. I'm not using qemu.)

If I boot with the toram option I find that when trying to mount sda1 I get the message "Error: mount: according to mtab, /dev/sda1 is mounted on /cdrom".
And if I open a root shell and try to umount /cdrom I just get "umount: /cdrom: device is busy". And if I try to write to /cdrom I just get the message that it's a "read-only file system".
So there's no way I can write a file to a directory on the memorystick. I think it's nice to use the toram option when it's enough RAM, but it seems I can forget it here...

If I boot without the toram option I can mount sda1. But only root can write to it. I thought booting DSL from memorystick and just write my files to it as user would be nice, but its not that simple.
If I try to change permissions on folder from a root shell I just get told that operation is not permitted. Usually you expect most things to be permitted for root, but I guess it's due to the FAT filesystems not knowing about permissions that chown, chmod and chgrp don't work. Anyway, it's a bit of a hassle and I wish there was a way I could mount a directory on the stick with write permissons for the user (dsl).

Otherwise this seems brilliant. I really like the mydsl directory option for extensions. Can you store boot options and/or other settings too using DSL embedded on a USB stick?
[EDIT]
Sorry. Being to tired here. Answer to my very last question are obvious: .filetool.lst, backup.tar.gz & all that jazz... But my main Q. still stands as something that puzzles me....
[/EDIT]
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 29 2007,04:00 QUOTE

I'm not sure from your post if you installed embedded DSL - the version that will run in a window under Windows - or normal DSL?

If you installed DSL normally, did is it DSL or DSL-N? The reason I ask is that I have the same issue as you with DSL-N but not DSL.

You can get around your problem by creating two partitions on the USB stick, you will then be able to boot from one partition and write to the other partition. If you want to share your files with Windows, it would be better to boot DSL from the second partition since Windows can usually only see the first partition.
Back to top
Profile PM 
RRRR Offline





Group: Members
Posts: 29
Joined: July 2004
Posted: April 29 2007,04:13 QUOTE

No, not DSL-N. I just unzipped dsl-3.3-embedded.zip to the stick and installed syslinux (3.36) to it.
Two partitions might be the way to go. Anything special to get syslinux to load DSL off the second partition on the stick...?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 29 2007,04:29 QUOTE

What if you `umount /dev/sda1` ? Are you sure you get this while you boot with toram.. and not the other way around?

I think you can write to /cdrom if you're using the "frugal" bootcode.. and you have to have root privileges.

You could mount sda1 by changing the user permissions on it (i.e. via mount).  Or you could just work as root...  Or you could just make an ext2 partition...

Re: last question: yes... see backup/restore.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 29 2007,05:15 QUOTE

Quote
Anything special to get syslinux to load DSL off the second partition on the stick...?
I guess you would have to run syslinux from linux since Windows would not be able to make or see (easily) the second partition.

Quote
Or you could just make an ext2 partition...
I've been thinking about this now that I have Windows drivers for ext2. What would be the implications of using DSL from a USB stick with ext2 partitions - grub/lilo boot instead of syslinux I guess, but anything else?
Back to top
Profile PM 
12 replies since April 29 2007,00:57 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Writing back to the USB stick

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