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 to disk< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Aug. 11 2007,05:13 QUOTE

Quote
persistant homedirs in the form of a backup.tgz

These are not the same thing. Persistent home directory is a mounted persistent store in the form of a supported writable filesystem, nothing to do with the backup.tar.gz which is the default.

Using the boot option of home=hda2 upon first use will setup a home directory on the specified device. Subsquent use will mount your home directory on device hda2 Any supported writable filesystem partition may be specified. This is typically used when the boot options are easily accesed as in a frugal or pendrive install.
Back to top
Profile PM WEB 
eydaimon Offline





Group: Members
Posts: 20
Joined: Feb. 2007
Posted: Aug. 11 2007,08:40 QUOTE

Quote (roberts @ Aug. 11 2007,01:13)
Quote
persistant homedirs in the form of a backup.tgz

These are not the same thing. Persistent home directory is a mounted persistent store in the form of a supported writable filesystem, nothing to do with the backup.tar.gz which is the default.

Using the boot option of home=hda2 upon first use will setup a home directory on the specified device. Subsquent use will mount your home directory on device hda2 Any supported writable filesystem partition may be specified. This is typically used when the boot options are easily accesed as in a frugal or pendrive install.

The bit that has put me off that approach is the necessity to having to type in a boot option each time. is there no way to store boot options to make them persistant too?
Back to top
Profile PM 
fioddor Offline





Group: Members
Posts: 60
Joined: Aug. 2006
Posted: Aug. 11 2007,09:25 QUOTE

Quote
is there no way to store boot options to make them persistant too?


You can either:

a) Store the boot options in your boot manager (grub, etc). At this moment I don't know how to do that exactly but it shouldn't be too difficult to find out the right file to edit.

b) Relink the directories from the flashdrive at boot.
The wiki has a section called "Start Programs At Boot" that points you to some relevant scripts. Others can be found in this page: http://damnsmalllinux.org/wiki/index.php/DSL_Boot_Process

The backup functionality is used as a mean to make those scripts persistant and thereby, make the whole system persistant.

Hope this helps.
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Aug. 11 2007,13:33 QUOTE

Quote
The bit that has put me off that approach is the necessity to having to type in a boot option each time. is there no way to store boot options to make them persistant too?

It is really a simple matter to edit the boot loader append section depending on whether you are using grub, lilo, syslinux, isolinux,extlinux, loadlin, linld, etc, or even the boot floppy and of course the media involved. If only a CDROM then use mkmydsl to simply generate a new cd image to burn.

However, note that creating a regular directories on a usb device will quickly wear out the flash device just as doing a traditional hard drive install would.

The default approach that DSL uses, only write once per session (backup) is still the most flash friendly.


Edited by roberts on Aug. 11 2007,13:38
Back to top
Profile PM WEB 
eydaimon Offline





Group: Members
Posts: 20
Joined: Feb. 2007
Posted: Aug. 11 2007,15:20 QUOTE

Quote (roberts @ Aug. 11 2007,09:33)
[quote]

The default approach that DSL uses, only write once per session (backup) is still the most flash friendly.

Do you know of any efforts which are geared for those of us, me for instance, who has a microdrive, or maybe even those who are not too worried about the lifetime of their flash?
Back to top
Profile PM 
12 replies since Aug. 06 2007,16:18 < 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 to disk

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