5 Replies - 15208 Views - Last Post: 27 June 2007 - 04:19 AM

#1 girasquid   User is offline

  • Barbarbar
  • member icon

Reputation: 109
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

Configuring Damn Small Linux(embedded) for persistence

Posted 01 May 2007 - 10:58 AM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Configuring Damn Small Linux(embedded) for persistence

#2 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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.
Was This Post Helpful? 0
  • +
  • -

#3 girasquid   User is offline

  • Barbarbar
  • member icon

Reputation: 109
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

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:
mount: relocation error: mount: undefined symbol: blkid_known_fstype


This post has been edited by girasquid: 01 May 2007 - 05:02 PM

Was This Post Helpful? 0
  • +
  • -

#4 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Configuring Damn Small Linux(embedded) for persistence

Posted 15 May 2007 - 12:16 PM

View Postgirasquid, 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:
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.
Was This Post Helpful? 1

#5 Jam251   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-June 07

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

View Postno2pencil, on 15 May, 2007 - 12:16 PM, said:

View Postgirasquid, 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:
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.

Was This Post Helpful? 0
  • +
  • -

#6 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Configuring Damn Small Linux(embedded) for persistence

Posted 27 June 2007 - 04:19 AM

View PostJam251, 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

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.
Was This Post Helpful? 1

Page 1 of 1