Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-11-2006, 08:54 PM   #1
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Rep: Reputation: 31
retrieving password using live CD

OK so I was given this computer at my gradschool with SuSe installed on it. A person who had this copmuter has left, and I am trying to change the root password so I can access the machine. I have a live CD (Knoppix 3.9) and I tried to mount HD read/write like this:

mount -o rw /mnt/sda1

but I get the message that only root has a permission to do that.
I also tried

mount -o remount,rw /dev/sda1 /mnt/sda1

with the same result.
What should I do to get around this? Thanks.
Old 01-11-2006, 09:52 PM   #2
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
That message is telling you that you need to become root before you can mount sda1 (or change the mounting permissions for that partition in fstab so you can mount it as a regular user).

If all you want to do is access the drive while running the knoppix livecd, then you need to find out what the livecd root password is. I haven't run knoppix for a while, but if I remember correctly it used to have a blank password or some such.

I.E. you would type either su or sudo su at the command line to become root and it would emediately pop you in without asking for a password. ...Then you should be able to mount the partition.
Old 01-11-2006, 10:10 PM   #3
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 31
of course. thank you. to save my face, i actually did figure it out just few moments b4 your post.
Old 01-12-2006, 08:35 AM   #4
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

and why do you need a live CD to change root password just add: init=/bin/sh as argument to your boot command line, and you'll boot your kernel and get a root shell... then remount the partition as read/write and change root password



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 5.04 Live CD - retrieving files nasanta Linux - Newbie 2 12-11-2005 07:29 PM
5.04 Live Cd Password manhinli Ubuntu 4 08-05-2005 03:53 PM
Live CD login Username/Password??? Anthony1uk Linux - Newbie 3 06-03-2005 11:01 AM
[SOLVED] ROOT password of live cd's bucovaina78 Linux - Software 3 10-28-2004 06:34 PM
suse live cd. which is the password ovparrilla Linux - Newbie 1 04-28-2004 08:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration