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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
05-12-2011, 05:56 PM
|
#1
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Rep:
|
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.
|
|
|
05-12-2011, 06:00 PM
|
#2
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
I rarely use the console. So, I am still very dumb when using it!
|
|
|
05-12-2011, 06:06 PM
|
#3
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
|
Kubuntu 10.4 should out of the box support ext4. If you want to list the partitions on your computer use if you want to list the mounted partitions you may use or 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 06:07 PM.
Reason: typo
|
|
|
05-12-2011, 06:09 PM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,017
|
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.
|
05-12-2011, 06:10 PM
|
#5
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
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.
|
|
|
05-12-2011, 06:12 PM
|
#6
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
|
surely, if you configure it in the /etc/fstab file.
Markus
|
|
|
05-12-2011, 06:14 PM
|
#7
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
ok more on the auto in a moment. fdisk coming next:
|
|
|
05-12-2011, 06:18 PM
|
#8
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
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
|
|
|
05-12-2011, 06:20 PM
|
#9
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
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
|
|
|
05-12-2011, 06:23 PM
|
#10
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
neally@honeybear:~$ sudo mount /dev/sda4 /mnt/tmp
mount: mount point /mnt/tmp does not exist
|
|
|
05-12-2011, 06:24 PM
|
#11
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
|
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 06:26 PM.
|
|
|
05-12-2011, 06:26 PM
|
#12
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
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.
|
|
|
05-12-2011, 06:29 PM
|
#13
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
Ok? All I know is I can't use sda4. Dolphin won't let me.
|
|
|
05-12-2011, 06:31 PM
|
#14
|
Member
Registered: Jul 2010
Location: Big Island, Hawaii
Distribution: Kubuntu10.04
Posts: 248
Original Poster
Rep:
|
I don't remember these problems on my last computer, with Kubuntu 9.10.
How can I use my filesystem?
|
|
|
05-12-2011, 06:32 PM
|
#15
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|