Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've have just downloaded knoppix and I now wondering how I log in on the local file system. I have fc3 and winme installed on my computer.
In knoppix, how did I log in as a local user, so i can get read/write access to my files on the computer?
Distribution: anything debian based, long live apt-get
Posts: 230
Rep:
if you use NTFS as the filesystem, when you load up knoppix you have to mount the drive...most likely hda1..
linux doesnt have write access to NTFS, so if you want to mount the drive, you'll only be able to read it..
as for the fc3 partition...i'm gonna assume its hda2 or hdb1 (depending on weather its 2 drives, or one partitioned one) anyway, try somthing like this
Distribution: anything debian based, long live apt-get
Posts: 230
Rep:
ok so as root mount the drive, it should be pretty simple...type 'df' to find out what partition the ext3 filesystem is on... say its on hda2 then type
mount /dev/hda2 /mnt/hda2
then if you need write access and its not giving it to you right away...change the permissions for the drive...that should be it
ok I see. maybe I understood it wrong.
if you wanna get rw access to your Fedora partition. obviously some directories gonna be locked there. so you want be able to get acces to them.if its what you want you need to:
mount -rw /dev/hda /mnt/hda
chroot /mnt/hda
su (not sure if it will work but it might)
put your root password for fedora (without it I cannot see the solution)
then you can work from there as your / directory
if you wanna run the X based programs you have to
export DISPLAY=localhost:0.0
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315
Rep:
DONT DO WHAT NIKOLAY suggests ..
why chroot ? that's to change the mount point of your root file system.
The issue you most likely have is the user-id's in FC are different than the user ID's on knoppix ..
One way to do it is to go in a root and change the permission on all folders to +666 .. it's dangerous but other solutions are probably
similarly whaky..
second solution is to create another user on FC (when running FC) and make sure it's userID and groupID is same as knoppix user Id you are using
Change ownership of the folders you want accessible to this user (chown command).. now you "might" be able to do it.
hmm wasn't sure about it.
just tried it myself
true. didn't work,it was a guess, just in case sorry, as i understand when you su you get Knoppix su permission.which is not the one needed.
It's wired that's ins't easy to log in on a computer. I read on the knoppix site that's it could be used to system rescue, but if you can't get write access....
So I used the fedora rescue CD instead, it's much easy'er. With the rescue CD you also just get read/write access without any password.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.