LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-03-2007, 02:40 PM   #1
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Rep: Reputation: 15
Where the Hard Drives?


k, I started Kubuntu with Live CD and it worked fine... but I didnt know what was everything :P
how can I see my hard drives and files?
I found the Home>Desktop>install
but there nothing more...
please help
 
Old 06-03-2007, 02:58 PM   #2
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Linux Mint 18 XFCE, Debian Jessie XFCE, NAS: OpenMediaVault
Posts: 1,304

Rep: Reputation: 56
Quote:
Originally Posted by Instantly
k, I started Kubuntu with Live CD and it worked fine... but I didnt know what was everything :P
how can I see my hard drives and files?
I found the Home>Desktop>install
but there nothing more...
please help
What files are you trying to see? If you're trying to see a drive that is formatted in ntfs(XP), then you have to install ntfs support on Kubuntu to view said drive. I don't use it, but I think ntfs reading/writing is still a bit experimental. The *buntus should recognize Fat32 pretty easily.

http://ubuntuguide.org/wiki/Ubuntu:Feisty

That FAQ is written around Gnome and Ubuntu, but I think should work fairly well under Kubuntu and KDE.

Also, if you managed to open your home folder(I think its the same on KDE as Gnome)..., Open your home folder, Click View/Show Hidden files), it will probably show several subdirectories.

IGF
 
Old 06-03-2007, 03:58 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
My system (Mepis 6.5--based on Ubuntu) sees ntfs "out of the box". Why would Kubuntu be different?

Open a terminal, and:
cd /mnt
ls (see if there is some entries for sda1, sda2.....hda1, hda2 etc.) If so, you can simply enter "mount sda1" to mount the partition, and then cd sda1 and ls to view it.

If there is nothing in /mnt , look in /media
 
Old 06-03-2007, 07:37 PM   #4
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Kubuntu most definitely can read NTFS out-of-the-box, though last time I checked it didn't include write support.
 
Old 06-04-2007, 08:54 AM   #5
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
its not working, I dont know what Im doing wrong but I cant see my NTFS hard drives, here's what Im doing...
snapshot1.jpg
snapshot2.jpg
what should I do?
 
Old 06-04-2007, 09:01 AM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Code:
mount -t ntfs /dev/hda1 /mnt/
if hda1 was your preferred NTFS partition (first IDE harddisk's first partition; hdb1 for secondary IDE disk, hda2 for primary disk's second partition etc.) and you wanted to see the contents under /mnt (that directory must exist).

For SATA harddisk, you need to use sda1 instead of hda1, sdb1 instead of hdb1, sda2/3/4/... instead of hda1/2/3/4/... and so on.
 
Old 06-04-2007, 09:02 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by Instantly
its not working, I dont know what Im doing wrong but I cant see my NTFS hard drives, here's what Im doing...
snapshot1.jpg
snapshot2.jpg
what should I do?
I can't view those pictures without signing in to that site....

Please just write out what commands you tried and what happened. (You should be able to simply cut and paste from the terminal)
 
Old 06-04-2007, 09:18 AM   #8
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
try these links
I didnt type anything!
[IMG]image.jpg[/IMG]

[IMG]image2IMG]
 
Old 06-04-2007, 12:13 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
The first picture shows that the files belong to the user root and also the group root.
So it is a permissions problem, your files are there but you, as a regular user are not currently allowed to read them.
This can be changed.
What please is the output of the following commands in a terminal window (Please copy & paste):

mount
ls -l /media/windows
(that's "ls minus ell" not "ls minus one")
cat /etc/fstab

Then we can help.
 
Old 06-04-2007, 12:16 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Those images are not useful--we can only see the front window.

From the Live CD, open a terminal and enter "fdisk -l". This should display the drives and partitions on the system. Post the results here. (You might have to switch to the root user to do this----just type "su". For a live CD, it will likely not ask for a password---if it does, try "root".)

To look at a partition, you need to have a mount point somewhere---typically /mnt (See my other post for some other notes on this)

To make a mount point (directory), enter mkdir /mnt/xyz, where xyz is any name that you pick

Then, to mount a partition, enter "mount /dev/XdaY /mnt/xyz" (replace X and Y with the appropriate letter/number as shown by the fdisk output. e.g., to mount sda5, enter "mount /dev/sda5 /mnt/xyz"
 
Old 06-04-2007, 12:49 PM   #11
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
thanks guys, but I still have a problem,
so it mounted and everything but I still cant enter it
I get "You dont have permissinos to read file:///mnt/DriveG

how could I get permisson... and should I enter as root to get permission (because I thought we should never log in as root...for some reason)

thank you
 
Old 06-04-2007, 04:16 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by Instantly
thanks guys, but I still have a problem,
so it mounted and everything but I still cant enter it
I get "You dont have permissinos to read file:///mnt/DriveG

how could I get permisson... and should I enter as root to get permission (because I thought we should never log in as root...for some reason)

thank you
You should use root only when you have to...and when you do, just be careful.

In a terminal:
su (to switch to root)
password when prompted

cd /mnt/DriveG
ls -l (This will show you all the permissions for the files and directories---As root, you should see that you at least have read access)
 
Old 06-05-2007, 01:43 PM   #13
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
Hi.
Well, being that you are using Kubuntu from a liveCD and your configuration probably won't be stored (right?), I think doing stuffs at your home directory would be less tiring.

open a terminal,
$mkdir hds /*hds as in Hard DiskS would be a logical name?*/
$cd hds
$su /*become root so you can mount anything as you like*/

$mkdir sda1 /*any name you like, sda1 for /dev/sda1 (your first logical hard drive) is easy to remember I guess*/

$mount -t ntfs /dev/sda1 sda1 /* "-t ntfs" means for ntfs disks (if you use winxp, this option should probably do fine). */

$mkdir sdaxxx /*if you are going to be mounting some more disks, make as many directories as you want */

$mount -t ntfs /dev/sdaxxx sdaxxx /*repeat as needed*/

$chown yourusername * /*if you are using a liveCD, your default username will probably be something like "ubuntu" I guess. "chown" changes ownership of the directory to "yourusername". And "*" means pretty much "everything in this directory" (you could just type "sda1 sda2 sda3 ..." if you like typing or something)*/

$exit /* ends root's session*/

if you then type "ls -l" the owner's name should be the one you chose, thus letting you freely access the disk. So you should be able to use konqueror to browse the disks without problem.

However, if the disks are ntfs, you won't be able to write anything because linux can't write to ntfs yet (I heard it's being developed, but if you plan to use the liveCD a lot and to write some data safely, you should change some disk from ntfs to the older fat32. Or better, install linux).

If what you really wanted to do was just to browse your disk for some reason from a liveCD, I think KNOPPIX would be a better choice. If you are used to KDE, Knoppix uses it from default. And if you are used to Ubuntu, both Ubuntu and Knoppix used Debian as basis, so it will probably be easy to use. And Knoppix was made to be used as a liveCD (or liveDVD, etc), so it has a lot of other cool options you probably will like a lot.

Hoped this helped.
 
  


Reply


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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 08:01 AM
Hard Drive Partitioning for Large Hard Drives Matir Linux - General 2 12-26-2006 06:55 AM
two hard drives slinky2004 Linux - Hardware 2 12-27-2004 12:32 AM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 07:12 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 04:28 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration