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
 

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

reply to topic new topic new poll
Topic: Persistent home on hdb + GRUB on hda< Next Oldest | Next Newest >
ugol Offline





Group: Members
Posts: 12
Joined: Jan. 2006
Posted: Mar. 29 2006,12:50 QUOTE

Hi everybody,
Summary: a student of mine has an old PC at home with a little space space on both hda1 and hdb1. There are not other partitions.
I suggested her to put a copy of a remastering I did (starting from DSL 2.1) on hda1 as a "poor man's install" and she'll do it. Since she's not very skilled with Linux, I don't want to suggest her to repartition the primary disk in order to not give her too many troubles.

First question:  can she do an automatic backup of her home files to/from the secondary disk? It seems to me to remember that DSL perhaps can't do it, but I'm not sure. I've googled a little this morning, but I've not found any answer.

Of course, she can just try, but since students do a lot of strange mistakes, I'll not sure about her tests.

Second question: in order to make faster the boot process, it would be nice to use GRUB in order to write on the MBR of hda. There is another topic in this area, saying that a link in the wiki page to a file for putting GRUB on a floppy is no more working.
Is it possible to settle the MBR by working from the live CD (or from the "poor man's install")? Do I need grub.dsl? I don't think so, because the GRUB-frugal install works, so there must be a way ....

Many thanks for your help,
ciao,
Ugo
Back to top
Profile PM 
ugol Offline





Group: Members
Posts: 12
Joined: Jan. 2006
Posted: Mar. 29 2006,13:55 QUOTE

OK! I didn't think too much before writing...
I had a look to the frugal_grub.sh script in the /usr/sbin directory and I've more or less understood what I've to do in order to rewrite the MBR of hda by using GRUB.

Thus, erase the second question of the previous e-mail.
The first one is still valid....

Ciao,
Ugo
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 29 2006,16:14 QUOTE

DSL has had automatic backup of /home/dsl for a long time (automatic in the sense that once you define a target partition it will be automatic).  The file /home/dsl/.filetool.lst stores paths that will be included, and /home/dsl/.xfiletool.lst stores strings that will be excluded from the backup.

You can optionally use the boot parameter "home=hdb1" to use a persistent home instead of the backup.  I'm not sure what limitation there is on filesystems for the persistent partition, but it should be a linux filesystem if you don't want file ownership/permissions to be screwed up. Reiserfs or ext3 work well...ext2 needs fairly regular maintenance if you will be writing to it frequently.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
2 replies since Mar. 29 2006,12:50 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Persistent home on hdb + GRUB on hda

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