LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 05-12-2011, 04:56 PM   #1
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Rep: Reputation: 19
Kubuntu 10.04, i386, new install. Can't access EXT4 partition on same HDD.


Kubuntu 10.04, i386, new install. Can't access EXT4 partition on same HDD. Celeron, desktop.

Thank you.
 
Old 05-12-2011, 05:00 PM   #2
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
I rarely use the console. So, I am still very dumb when using it!
 
Old 05-12-2011, 05:06 PM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Kubuntu 10.4 should out of the box support ext4. If you want to list the partitions on your computer use
Code:
fdisk -l
if you want to list the mounted partitions you may use
Code:
df -h
or
Code:
mount
if you want to mount a partition you'll have to use the mount command. As an example, if you have a partition /dev/sda7 which is not yet mounted and have a directory /mnt/tmp you may use the command
Code:
mount /dev/sda7 /mnt/tmp
which mounts the partition to the directory.

Markus

Last edited by markush; 05-12-2011 at 05:07 PM. Reason: typo
 
Old 05-12-2011, 05:09 PM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,153

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
What's on the ext4 partition? Data? Another operating system? How have you tried to access it? Do you have a mount point for it? Is it mounted? I don't have Kubuntu so I don't know where you access the terminal, probably the Menu icon?? get your partition information using this command as root (sudo): sudo fdisk -l (lower case letter L in the command). Also, take a look at the /etc/fstab file to see what you have. If you don't understand it, post it here.
 
1 members found this post helpful.
Old 05-12-2011, 05:10 PM   #5
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
Thank you.

Before I follow your instructions, I want to know if there is a way to have my partitions automatically mount upon every boot, without a prompt for password.
 
Old 05-12-2011, 05:12 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
surely, if you configure it in the /etc/fstab file.

Markus
 
Old 05-12-2011, 05:14 PM   #7
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
ok more on the auto in a moment. fdisk coming next:
 
Old 05-12-2011, 05:18 PM   #8
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
neally@honeybear:~$ sudo fdisk -l
[sudo] password for neally:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8b37325c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6079 48827392 83 Linux
/dev/sda2 6079 7903 14648320 83 Linux
/dev/sda3 7903 8025 976896 82 Linux swap / Solaris
/dev/sda4 8025 30402 179743744 83 Linux
 
Old 05-12-2011, 05:20 PM   #9
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
neally@honeybear:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 46G 44G 128M 100% /
none 245M 308K 245M 1% /dev
none 249M 92K 249M 1% /dev/shm
none 249M 80K 249M 1% /var/run
none 249M 0 249M 0% /var/lock
none 249M 0 249M 0% /lib/init/rw
/dev/sda4 169G 188M 160G 1% /media/disk


I am trying to be able to read/write files in sda4
 
Old 05-12-2011, 05:23 PM   #10
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
neally@honeybear:~$ sudo mount /dev/sda4 /mnt/tmp
mount: mount point /mnt/tmp does not exist
 
Old 05-12-2011, 05:24 PM   #11
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Well, this tells you, that /dev/sda2 is not yet mounted.
And since /dev/sda4 is mounted to /media/disk, there is no problem for your Kubuntu to access the filesystem.

Markus

Edit: as I wrote "if you have a directory /mnt/tmp" if not, create one. But you don't need it since the partition is already mounted.

Last edited by markush; 05-12-2011 at 05:26 PM.
 
Old 05-12-2011, 05:26 PM   #12
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
I suppose it says sda4 is mounted?
But in Kubuntu's GUI file manager, Dolphin, It won't let me so much as write new folder. I can not see any files on it.
 
Old 05-12-2011, 05:29 PM   #13
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
Ok? All I know is I can't use sda4. Dolphin won't let me.
 
Old 05-12-2011, 05:31 PM   #14
Bhakta Neal
Member
 
Registered: Jul 2010
Distribution: Kubuntu10.04
Posts: 243

Original Poster
Rep: Reputation: 19
I don't remember these problems on my last computer, with Kubuntu 9.10.
How can I use my filesystem?
 
Old 05-12-2011, 05:32 PM   #15
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Well, you can write to it only as root. And if you open dolphin as a normal user, you don't have root-permissions.

There are two ways: write to the partition as root on the commandline, or create folders as root and change the owner of the folders to the normal user which then will have write-permissions within the folders

Markus
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I need help converting a vfat extended partition into a ext4 partition zorro70 Linux - General 6 02-15-2011 08:55 PM
How Do I Install/Partition Kubuntu 10.10 From A CD Heavyboost Linux - Newbie 2 02-03-2011 08:58 PM
Ext3 Partition on External HDD have no write access Ikbosh Linux - Hardware 7 04-15-2010 07:41 AM
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM
canīt access the newly created EXT3 partition by GPARTED in kubuntu mehdiee Linux - Newbie 3 02-15-2008 03:04 PM


All times are GMT -5. The time now is 08:53 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