You are not logged in.

#1 2010-08-25 12:06:11

AlexanderPankiv
Member
Registered: 2010-08-25
Posts: 6

Hard Drive Problem [SOLVED]

Hello everybody! I'm new in linux, and have a problem with hard drive. The system says that there is no sapce on it (of 160 gigs; I've just installed system). Logigng in as root can't change anything. Can someone help?

Last edited by AlexanderPankiv (2010-08-26 10:40:56)

Offline

#2 2010-08-25 12:11:43

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Hard Drive Problem [SOLVED]

What does "df -h" show?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-08-25 12:20:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Hard Drive Problem [SOLVED]

I'll just remind you, AlexanderPankiv, that Arch is not considered a newbie-friendly distro.

Please post the output of 'fdisk -l'.

Offline

#4 2010-08-25 14:13:54

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Hard Drive Problem [SOLVED]

clearly shows wrong selection for the root partition. you might have created a boot partition with smaller size and selected that one as root. As others set post your fdisk -l to reveal the actuals.

Offline

#5 2010-08-25 16:34:17

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: Hard Drive Problem [SOLVED]

As everyone else said, the hard drive is probably partitioned incorrectly.

Did you take a look at the Official Install Guide?  Since Arch is not a newbie-friendly distro, it's expected that you did some searching before asking on the forums.

Offline

#6 2010-08-25 19:13:31

AlexanderPankiv
Member
Registered: 2010-08-25
Posts: 6

Re: Hard Drive Problem [SOLVED]

I'm not completely newbie! I've used ubuntu for a year

[root@arch ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             7.3G  7.2G     0 100% /
udev                   10M  156K  9.9M   2% /dev
shm                   250M     0  250M   0% /dev/shm
/dev/sda4             140G  193M  132G   1% /home
/dev/sda1              99M   15M   80M  16% /boot
[root@arch ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x000c1696

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14          46      265072+  82  Linux swap / Solaris
/dev/sda3              47        1003     7687102+  83  Linux
/dev/sda4            1004       19457   148231755   83  Linux

Offline

#7 2010-08-25 19:17:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Hard Drive Problem [SOLVED]

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             7.3G  7.2G     0 100% /

That clearly says you've run out of space.

You have a huge and empty /home partition - move some space and resize your /. Use http://redobackup.org/ or some other distro that has Gparted or similar tool.

Last edited by karol (2010-08-25 19:20:19)

Offline

#8 2010-08-25 19:56:54

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Hard Drive Problem [SOLVED]

I am thinking during the install you didn't mount the home on the correct partition and therefore the installer created home under the root partition itself, thereby using up almost all the space.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2010-08-25 19:58:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Hard Drive Problem [SOLVED]

Inxsible wrote:

I am thinking during the install you didn't mount the home on the correct partition and therefore the installer created home under the root partition itself, thereby using up almost all the space.

But the installer doesn't fill /home so it would be empty, right?
Maybe OP installed a lot of software.

Offline

#10 2010-08-25 19:59:35

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Hard Drive Problem [SOLVED]

True smile


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2010-08-25 20:01:58

AlexanderPankiv
Member
Registered: 2010-08-25
Posts: 6

Re: Hard Drive Problem [SOLVED]

No, everything's okay now.
The problem is that non-root user doesn't have pemission to save files, etc. And if I download smth. using root it uses "root" folder which is on the small partition.
Sorry to say but I still have problems with my "non-root" user. For example: I've already installed flashplayer, but I can use it only as root. Why? Can someone help?

Offline

#12 2010-08-25 20:04:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Hard Drive Problem [SOLVED]

AlexanderPankiv wrote:

No, everything's okay now.
The problem is that non-root user doesn't have pemission to save files, etc. And if I download smth. using root it uses "root" folder which is on the small partition.
Sorry to say but I still have problems with my "non-root" user. For example: I've already installed flashplayer, but I can use it only as root. Why? Can someone help?

It's a problem with permissions
http://wiki.archlinux.org/index.php/Fla … ot_working

Offline

#13 2010-08-25 20:05:50

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Hard Drive Problem [SOLVED]

Do you mean the root partition is no longer full?  It was 100%.  How are you installing software?  Are you using pacman?

edit:  take a look at the permissions on your users homedir and post them here.

Last edited by loafer (2010-08-25 20:10:52)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#14 2010-08-25 20:08:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Hard Drive Problem [SOLVED]

The problem is that non-root user doesn't have pemission to save files,

This doesn't sound good.

Offline

#15 2010-08-25 20:13:55

AlexanderPankiv
Member
Registered: 2010-08-25
Posts: 6

Re: Hard Drive Problem [SOLVED]

Great! It works!
One more question - what to do to change language? I've already changed it in "rc.conf" but it didn't work. Language - Ukrainian.

Offline

#16 2010-08-25 20:29:12

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Hard Drive Problem [SOLVED]

rc.conf language setting does not affect what happens inside X.

http://wiki.archlinux.org/index.php/Xorg#InputClasses

Also, tell us what you did to solve the other problems and mark the thread as solved afterwards.

Last edited by loafer (2010-08-25 20:30:29)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#17 2010-08-26 10:06:58

AlexanderPankiv
Member
Registered: 2010-08-25
Posts: 6

Re: Hard Drive Problem [SOLVED]

The solving was very simple. Creating additional user I made a big mistake: I didn't assign it to any group (I should have read patiently, I didn't). I used terminal to assign it to most groups from http://wiki.archlinux.org/index.php/Groups
Using root user when downloading something I used ./home folder as destination folder (where most of my hard drive mounted). That's all

Offline

#18 2010-08-26 10:39:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Hard Drive Problem [SOLVED]

Please edit your first post and add [solved] to the title or Santa won't bring you any presents this year.

Offline

Board footer

Powered by FluxBB