LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2009, 03:25 AM   #16
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404

Go into /root, and use du -sh * again.

Code:
cd /root
du -sh *
 
Old 02-10-2009, 08:27 AM   #17
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
What does this tell me?

Code:
chuckbhp@chuckbhp-laptop:~$ cd /root
chuckbhp@chuckbhp-laptop:/root$ du -sh *
4.0K	Desktop
chuckbhp@chuckbhp-laptop:/root$
 
Old 02-10-2009, 08:40 AM   #18
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Try this:

Code:
cd /root
shopt -s dotglob
du -sh *
 
Old 02-10-2009, 09:06 AM   #19
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
What is '.local'??? That HAS TO be the problem...

Code:
chuckbhp@chuckbhp-laptop:~$ cd /root
chuckbhp@chuckbhp-laptop:/root$ shopt -s dotglob
chuckbhp@chuckbhp-laptop:/root$ du -sh *
du: cannot read directory `.aptitude': Permission denied
4.0K	.aptitude
4.0K	.bashrc
du: cannot read directory `.config': Permission denied
4.0K	.config
du: cannot read directory `.dbus': Permission denied
4.0K	.dbus
4.0K	Desktop
du: cannot read directory `.gconf': Permission denied
4.0K	.gconf
du: cannot read directory `.gconfd': Permission denied
4.0K	.gconfd
du: cannot read directory `.gnome2': Permission denied
4.0K	.gnome2
du: cannot read directory `.gnome2_private': Permission denied
4.0K	.gnome2_private
du: cannot read directory `.local': Permission denied
4.0K	.local
du: cannot read directory `.nautilus/metafiles': Permission denied
8.0K	.nautilus
4.0K	.profile
4.0K	.pulse
12K	.recently-used.xbel
4.0K	.rnd
du: cannot read directory `.synaptic': Permission denied
4.0K	.synaptic
4.0K	.wapi

chuckbhp@chuckbhp-laptop:/root$ exec sudo -s

[sudo] password for chuckbhp: 
root@chuckbhp-laptop:/root# du -sh *
4.0K	Desktop

root@chuckbhp-laptop:/root# shopt -s dotglob
root@chuckbhp-laptop:/root# du -sh *
4.0K	.aptitude
4.0K	.bashrc
12K	.config
12K	.dbus
4.0K	Desktop
52K	.gconf
4.0K	.gconfd
32K	.gnome2
4.0K	.gnome2_private
78G	.local
8.0K	.nautilus
4.0K	.profile
4.0K	.pulse
12K	.recently-used.xbel
4.0K	.rnd
276K	.synaptic
4.0K	.wapi
root@chuckbhp-laptop:/root#
 
Old 02-10-2009, 09:17 AM   #20
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
You can try to identify the contents by using these commands:

Code:
file /root/.local
head /root/.local
I can't be sure how has this been generated at all other than looking at the contents. It's indeed a huge file. It also seems strange to me that you are getting these "permission denied" warnings. If you are operating as root then you should be able to access anything unless you are using some kind of hardened system. And if you are running as non root, then you shouldn't be able to access /root at all. However that's a different issue.
 
Old 02-10-2009, 09:45 AM   #21
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Well, if I have to reformat, so be it. I've copied all personal stuff and settings, but I'd still like to try to delete this 78G root file, but don't know how to bring it up.

If I mess something up, I re-format anyway.

Any other ideas?

Thanks...

Code:
root@chuckbhp-laptop:/root# file /root/.local
/root/.local: directory
root@chuckbhp-laptop:/root# gksudo nautilus
seahorse nautilus module initialized
Initializing nautilus-share extension

** (nautilus:9919): WARNING **: Unable to add monitor: Operation not supported

--- Hash table keys for warning below:
--> file:///

(nautilus:9919): Eel-WARNING **: "nautilus-metafile.c: metafiles" hash table still has 1 element at quit time (keys above)

(nautilus:9919): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 1 element at quit time
seahorse nautilus module shutdown
root@chuckbhp-laptop:/root# head /root/.local
head: error reading `/root/.local': Is a directory
 
Old 02-10-2009, 09:52 AM   #22
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
So, .local is a directory, I didn't knew that.

Then cd into it, and again use du.

Code:
cd /root/.local
du -sh *
... and so on, until you find what's taking up the huge amount of space.
 
Old 02-10-2009, 10:07 AM   #23
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Well, good detective work so far there i92!
Code:
root@chuckbhp-laptop:/root/.local# du -sh *
78G	share
root@chuckbhp-laptop:/root/.local#
This is one file - correct? Can it be deleted directly from CLI?
 
Old 02-10-2009, 10:18 AM   #24
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Yes. You can delete it.

My main concern was "why is this file/dir here?".

But since you didn't put it there, we can assume that it's not important for you. You could as well delete the whole directory:

Code:
cd /root
rm -rf .local
Important note: When using rm, and specially when used with -r, -f or both (and even more when doing so as root, you should double check what you are doing. For example, if you write ". local" instead of ".local" the whole contents of the current dir (whatever that is) will be wiped. There's no need to say the consequences that this can have if you miss your target. I tell you this because it seems you never used rm on command line before.

You could delete it from a graphical explorer as well, you might need first to search for an option to show hidden files though.
 
Old 02-10-2009, 10:18 AM   #25
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
[Wiped duplicate, please, any moderator, delete this]

Last edited by i92guboj; 02-10-2009 at 10:23 AM.
 
Old 02-10-2009, 11:00 AM   #26
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
It was created somehow during the attempted cp process, when I was attempting to copy the Vista bootloader.

It was either exactly what was read to be copied (a 78G file), OR, somehow, an executable which loaded itself on a later restart, and created the file. ???

It has deleted, and I'm restarting...

Cross yer fingers. Cross yer toes. Cross yer eyes, cross everything!!!
 
Old 02-10-2009, 11:15 AM   #27
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
It booted up on second try. Hung on first, halfway through progress bar.

FF is showing page forward and back options lit up (they were not allowed before for space usage.

xorg.conf has lost a setting for touchpad control (eliminate 'tap').

Images can save to desktop again with freed space.

CPU history is still graphing BOTH CPU's. This never worked like this before (I watched it often).
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	5
Size:	85.8 KB
ID:	133  
 
Old 02-10-2009, 11:31 AM   #28
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Shutdown applet works again. It was causing upper and lower panels to disappear, with no shutdown option box. Had to restart X to get shutdown option from login page.

Interesting, shutdown process now shows logo screen and proper progress bar, instead of distortion fade to black.
 
Old 02-10-2009, 11:56 AM   #29
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Good work i92!

Now, where was I???

Which post in this thread was best to copy the Vista bootloader? I think there's 2 or 3 that seemed proper...
 
Old 02-10-2009, 12:11 PM   #30
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
A bit about semantics: the bool loader is a small piece of code that is usually put into the first sector of a disk or a partition. It takes a few bytes only, and its only task is to load the kernel so the OS can continue booting.

Now, to the point: are you sure that what you want to backup is the "boot loader"? Or do you mean to do a backup or your whole windows installation? These are two very different things.
 
  


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
fedora 10 install via hard disk got a wrong message!---Missing ISO 9660 image netyq Linux - Newbie 1 01-31-2009 09:28 AM
View hard disk size command mpmackenna Linux - Newbie 3 09-27-2007 04:56 PM
Hard drive space filled, X fails, says connection reset by peer solar_64131 Linux - Software 5 08-28-2006 04:37 PM
Hard disk not bootable after GRUB's wrong operations linuxgaga Linux - Hardware 4 04-16-2006 11:00 AM
What's wrong with my hard disk?: prad Linux - General 3 03-05-2003 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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