Hello, all.
Recently, I put Damn Small Linux onto a USB drive, so that I could use it at school on their windows boxes. I needed to use the embedded version because I don't have easy access to the BIOS settings; there is no way I can install DSL to a USB stick and then just boot from USB(also, these computers are oldish, and I'm not sure they even have that option).
I am having a problem with persistence. I need my home directory to always be in the same place on the USB drive, along with my settings to all be stored into backup.tar.gz. However, when I attempt to input a path to where my backup should be stored, all of my ideas have come up as invalid devices or mysteriously not worked. Does anyone know what path I would need to enter to have DSL read/write the backup.tar.gz file off of the USB stick that it is running on?
Thanks,
Girasquid
5 Replies - 15208 Views - Last Post: 27 June 2007 - 04:19 AM
#1
Configuring Damn Small Linux(embedded) for persistence
Posted 01 May 2007 - 10:58 AM
Replies To: Configuring Damn Small Linux(embedded) for persistence
#2
Re: Configuring Damn Small Linux(embedded) for persistence
Posted 01 May 2007 - 11:15 AM
I remember something about creating multiple partitions on the USB drive, the second one for user files.
#3
Re: Configuring Damn Small Linux(embedded) for persistence
Posted 01 May 2007 - 02:52 PM
Essentially, this is what I'm trying to do. I just don't know what path to use when it asks where I want backup.tar.gz to be.
Edit: Creating two partitions seems to be a better way to do it, but I'm at a loss as to how to actually get DSL to play nicely with my second partition. How would I do that?
Trying to use a command like sudo mount /dev/sda gives me this error:
Edit: Creating two partitions seems to be a better way to do it, but I'm at a loss as to how to actually get DSL to play nicely with my second partition. How would I do that?
Trying to use a command like sudo mount /dev/sda gives me this error:
mount: relocation error: mount: undefined symbol: blkid_known_fstype
This post has been edited by girasquid: 01 May 2007 - 05:02 PM
#4
Re: Configuring Damn Small Linux(embedded) for persistence
Posted 15 May 2007 - 12:16 PM
girasquid, on 1 May, 2007 - 02:52 PM, said:
Essentially, this is what I'm trying to do. I just don't know what path to use when it asks where I want backup.tar.gz to be.
Edit: Creating two partitions seems to be a better way to do it, but I'm at a loss as to how to actually get DSL to play nicely with my second partition. How would I do that?
Trying to use a command like sudo mount /dev/sda gives me this error:
Edit: Creating two partitions seems to be a better way to do it, but I'm at a loss as to how to actually get DSL to play nicely with my second partition. How would I do that?
Trying to use a command like sudo mount /dev/sda gives me this error:
mount: relocation error: mount: undefined symbol: blkid_known_fstype
1.) what fs type are you mkfs the 2nd partition of the usb stick?
2.) is that fs in the /etc/fstabs file?
Other wise, DSL will never be able to mount it, because it won't know what fs it is.
#5
Re: Configuring Damn Small Linux(embedded) for persistence
Posted 27 June 2007 - 02:04 AM
Hi! I'm getting exactly the same error message when I try to mount my USB stick!
It has 1GB on one single partition and it's in the /etc/fstab but it simply won't mount...
Here's the entry from /etc/fstab:
# Added by KNOPPIX
/dev/sdb1 /mnt/sdb1 auto noauto,users,exec 0 0
It seems to me that there is nothing wrong with this...
Laurent
1.) what fs type are you mkfs the 2nd partition of the usb stick?
2.) is that fs in the /etc/fstabs file?
Other wise, DSL will never be able to mount it, because it won't know what fs it is.
It has 1GB on one single partition and it's in the /etc/fstab but it simply won't mount...
Here's the entry from /etc/fstab:
# Added by KNOPPIX
/dev/sdb1 /mnt/sdb1 auto noauto,users,exec 0 0
It seems to me that there is nothing wrong with this...
Laurent
no2pencil, on 15 May, 2007 - 12:16 PM, said:
girasquid, on 1 May, 2007 - 02:52 PM, said:
Essentially, this is what I'm trying to do. I just don't know what path to use when it asks where I want backup.tar.gz to be.
Edit: Creating two partitions seems to be a better way to do it, but I'm at a loss as to how to actually get DSL to play nicely with my second partition. How would I do that?
Trying to use a command like sudo mount /dev/sda gives me this error:
Edit: Creating two partitions seems to be a better way to do it, but I'm at a loss as to how to actually get DSL to play nicely with my second partition. How would I do that?
Trying to use a command like sudo mount /dev/sda gives me this error:
mount: relocation error: mount: undefined symbol: blkid_known_fstype
1.) what fs type are you mkfs the 2nd partition of the usb stick?
2.) is that fs in the /etc/fstabs file?
Other wise, DSL will never be able to mount it, because it won't know what fs it is.
#6
Re: Configuring Damn Small Linux(embedded) for persistence
Posted 27 June 2007 - 04:19 AM
Jam251, on 27 Jun, 2007 - 02:04 AM, said:
Hi! I'm getting exactly the same error message when I try to mount my USB stick!
It has 1GB on one single partition and it's in the /etc/fstab but it simply won't mount...
Here's the entry from /etc/fstab:
# Added by KNOPPIX
/dev/sdb1 /mnt/sdb1 auto noauto,users,exec 0 0
It seems to me that there is nothing wrong with this...
Laurent
It has 1GB on one single partition and it's in the /etc/fstab but it simply won't mount...
Here's the entry from /etc/fstab:
# Added by KNOPPIX
/dev/sdb1 /mnt/sdb1 auto noauto,users,exec 0 0
It seems to me that there is nothing wrong with this...
Laurent
You're auto noauto is a bad idea. That's the file system type. Here I would suggest putting what ever file system that you formated the USB drive with.
# Device Mountpoint FStype Options Dump Pass# /dev/ad0b none swap sw 0 0 /dev/ad0d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0
Here is an example of my fstab. It should be self explanitory. If you are still having trouble I would suggest reading the man pages on fstab, newfs, & mount.
Page 1 of 1

New Topic/Question
This topic is locked


MultiQuote




|