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

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

reply to topic new topic new poll
Topic: Root password retention, DSL wont retain root PW after reboot< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Aug. 06 2006,16:34 QUOTE

I have ...

etc/shadow
etc/shadow-

in my .filetool.lst and root password persists just fine.
Back to top
Profile PM WEB 
Josiah Offline





Group: Members
Posts: 25
Joined: July 2006
Posted: Aug. 07 2006,18:54 QUOTE

I cannot get persistent home to work.  I am only given the option to enter boot options when using the liveCD.  How can I create a persistent home without booting from the liveCD?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 07 2006,19:00 QUOTE

You need to edit your bootloader's configuration file.  It should be located in the boot directory of the partition on which the KNOPPIX file is installed.  If you use grub it's menu.lst, and if you use lilo it's lilo.cfg (or something like that)

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Josiah Offline





Group: Members
Posts: 25
Joined: July 2006
Posted: Aug. 07 2006,21:31 QUOTE

Mikshaw, thank you for your help so far, but i think you may be vastly overestimating my abilities.  For all intents and purposes, this is my first time using linux.  A barely knew how to find the LILO configuration file (/etc/lilo.conf, as it happens), let alone how to configure it.  Here's the file that lilo.conf displays:

Quote
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',

"! Please edit /etc/lilo.conf before running lilo!"


lba32

boot=/dev/hda



install=/boot/boot-menu.b
backup=/dev/null

map=/boot/map


timeout=100


vga=normal


default=Knoppix

image=/vmlinuz
append="lang=de apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 quiet BOOT_IMAGE=knoppix"
root=/dev/hda5
label=Knoppix
read-write


????

I've googled around for instructions on configuring the LILO boot loader, but nothing I've seen seems to address the idea of persistent /home or /opt.  Que? :;):

Edit: If it makes it any easier, I can reinstall with grub.  I don't have any real data on the box yet (and if I did, it would be super backed up), so reinstalling is no biggie.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 07 2006,21:36 QUOTE

Persistent home and opt are specific to DSL...they're not likely to be mentioned anywhere but on these forums.

See the "append" line?  add "dsl home=hda1" (or whatever your partition) after "BOOT_IMAGE=knoppix".

Lilo requires that you run the command "lilo" after making config changes, and i'm not sure if you need to add any specific parameters to that command for DSL (I've never used lilo in DSL).

This all needs to be done as root, by the way.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
23 replies since Aug. 04 2006,22:40 < Next Oldest | Next Newest >

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

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: Root password retention

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