LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 02-09-2005, 04:03 PM   #1
kmeehl
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
Gentoo LiveCD cant mount


HI. I am having a problem with a failing hard drive on my laptop. I decided to give a LiveCD a try as a last resort on recovering data. The partion on the drive is reiser4, so I went with the Gentoo LiveCD that supports reiserfs4. The problem is that I cannot run the mount command to mount hda1 because I am not logged in as root. I have no way of knowing what the root password is on this livecd. Can someone tell me what it is or how to get around this problem.

Thanks
-- kM
 
Old 02-09-2005, 04:17 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
The root password is a random password,what I would do is follow this;
http://www.gentoo.org/doc/en/handboo...?part=1&chap=4
and don't create any filesystems just mount the partition just like it says,We do it all the time to change something we mess up like grub or fstab or forget to install something important,and we have to mount then chroot to change something,hope this helps
 
Old 02-09-2005, 04:33 PM   #3
kmeehl
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
thanks for the response! I have tried this and this is where the problem is. The result is:

Code:
tecnico@lxnaycd /mnt/gentoo $ mount /dev/hda1 /mnt/gentoo
mount: only root can do that
So I need to find a way to become superuser or find another way to mount the partition.

-- kM
 
Old 02-09-2005, 04:48 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Do you have any other partitions on hda with the same distro,what I'm thinking is mount your home lets say chroot to it and log in as root and then mount it.Just a guess!
 
Old 02-09-2005, 04:51 PM   #5
kmeehl
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
I'm actually using Yoper. Gentoo is the only LiveCD I could find with reiserfs4 support. At this point, all I want to do is mount the partion and get as much data as I can off of it. So any LiveCD that allows me to mount the partition and move the data across a network will do.

Thanks,

-- kM
 
Old 02-09-2005, 08:53 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,824

Rep: Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926
Quote:
Originally posted by kmeehl
thanks for the response! I have tried this and this is where the problem is. The result is:
tecnico@lxnaycd /mnt/gentoo $ mount /dev/hda1 /mnt/gentoo
mount: only root can do that


So I need to find a way to become superuser or find another way to mount the partition.
Looks like you already have /mnt/gentoo mounted.
Try at a different mount-point - say mkdir /mnt/gentoo/deaddisk, and mount it there ;-)
 
Old 07-07-2009, 01:38 AM   #7
thg303
LQ Newbie
 
Registered: Jul 2009
Location: Ahvaz
Distribution: Arch Linux
Posts: 3

Rep: Reputation: 0
Lightbulb super user

Quote:
Originally Posted by kmeehl View Post
thanks for the response! I have tried this and this is where the problem is. The result is:

Code:
tecnico@lxnaycd /mnt/gentoo $ mount /dev/hda1 /mnt/gentoo
mount: only root can do that
So I need to find a way to become superuser or find another way to mount the partition.

-- kM
just put a "sudo" before your command and you can do every thing as "root". for example:

Code:
sudo mount /dev/hda1 /mnt/gentoo
it doesn't need any password!

hey, cause you may get tired of typing "sudo" before each command, you may need a hand:
Code:
sudo su
this pretty lady, makes you root as long as you type "exit".
... and yes, I know, she's hot!

Last edited by thg303; 07-07-2009 at 01:58 AM.
 
Old 07-07-2009, 02:36 AM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Lightbulb

thg303, you do realize this post is from 2005. Welcome to LQ, It is a shame, a really nice post.
 
  


Reply

Tags
gentoo, 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM
Gentoo 4.2 LiveCD : textmode only gjo Linux - Distributions 1 05-29-2005 01:45 PM
Gentoo install chroot; Should is say livecd / ? revenge80200 Linux - General 5 02-25-2005 09:37 AM
Gentoo LiveCD Won't Boot steve_d555 Linux - Distributions 7 11-06-2004 09:15 PM
gentoo installatin 2004.1 livecd guitardan311 Linux - Newbie 1 06-22-2004 02:12 PM


All times are GMT -5. The time now is 01:04 PM.

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