PDA

View Full Version : 3 easy questions and a strange one.



metavoid
06-28-2004, 11:14 AM
Hi there, I been using knoppix for quite some time now and I really love it as its
so powerfull but there is still so much to learn.

(its a hd-install)

Q1)
When I leave my system to go to lunch, the system closes everything and
I have to log in again??

Even if I have a editor open with non-saved data, it will close it...
And I lose my work..! I know I could just save
but since it has never crashed on me I kinda trust it.
Seems to be some sort of timeout, but I cannot find any settings that controls this.

Any ideas? I want to turn it off.
One strange thing in this context. When I have been autologed-off
my mouse scroll button no longer works.?
I have to log off and restart xserver.


Q2)
Can I script cfdisk or other tool to automate the creation of partitions?
Perhaps Im still too newbee to understand the man pages completely.
I want to have a script that creates the partitions and install knoppix.

Q3)
How do I uninstall things?
Say I wanted to strip my knoppix a bit by uninstalling not used software.
So a partimage file would get smaller.
I am not quite sure what tool, I would use. Perhaps some deb tool.
Maybe I should not be looking for something saying Add/remove programs...:)

Q4)
I have a harddisk with knoppix on. It was installed on a singledisk system.
Now I want to use it as hd2 on the slave controller. The first disk is a xp system.
I know I have to tell it that its no longer hda and change where it boots from,
but I am clueless what files that involves and if I should use lilo for it.
I dont need dualboot ie a menu since I just can choose the hd to boot from so I just
need to make knoppix understand that its now on the slave controller and not the maindisk anymore.

Thanks for your patience with people like me.

metavoid
06-28-2004, 02:50 PM
Hmm. I found answer to scripting cfdisk.

Apprently I can write something like:

sfdisk /dev/hdc << EOF
0,407
,407
;
;
EOF

Sadly it still leaves me a bit clueless as start-end track or whatever the params are really
Ehh? to me. I had kinda hoped on some size param. Maybe I can create it manually and get it to create such nice looking file with that setup??

Thanks