ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Linux Partitions (help)



OK, guys you can all have a pop after the amount of stick I've been giving Vista! I have got myself into a bit of trouble with Ubuntu.:eek:

Last night I had some hard crashes, so I posted up on the ubuntu forums looking for advice. Someone posted saying to check the file system, so I did.

I typed this into a gnome terminal.

sudo fsck

To check the Linux partition (/dev/hda2). I said yes to the normal prompts, but it crashed out saying bad blocks. The system didn't crash in anyway etc

but;

I then get a message saying that I had used up all my disk space even though there is about 10gigs free on that partition. I looked in the Home folder and I cant find the file system its completely gone. I tried to reboot but it crashed out into proper geek linux stuff.

I can still see the partition in the boot loader. I can boot XP (grrrh what I'm using now) and I can use my Open Suse 10.2 distro. In Open Suse I can see the ubuntu partition, but I cant mount it. I'd like to mount it and copy all files to my NAS device. BTW: I'm trying to mount the Ubuntu partition like this:

sudo /dev/hda2 -rw /media/ubuntu

Can I use Open Suse to get files off the damaged Ubuntu partition?

Any tricks you more advanced guys got? They don't seem to be replying on ubuntu forums..
 
You ran fsck on a mounted partition? :p

To mount it,

sudo mount /dev/hda2 /media/ubuntu

You may have to fsck it unmounted though... (Disclaimer: Data loss isn't my fault :p)
 
You ran fsck on a mounted partition? :p

To mount it,

sudo mount /dev/hda2 /media/ubuntu

You may have to fsck it unmounted though... (Disclaimer: Data loss isn't my fault :p)

Yup, I've never had to run anything like this before. I did it without reading up on it :(

It tells me that I need to specify a filesystem type. It's ex3.
 

KDF

  Audi TT Stronic
use the " -t " option to specify filetypes.. but to be honest you shouldnt have to specifiy it eeek:
 
^ Thought so, I'd used the -t but it wont mount. Looks like I'm royally fucked it over.

Will have alittle play try get it done. Fiesty is out soon so may wait until that comes out before reinstalling the whole system.
 
what did you do lol ?

Honestly all I typed was sudo fsck then yes to 'are you sure'. Maybe it's because it was mounted.

It crashed out saying bad blocks, so I assume I have found the problem with the hardcrashes :dapprove:
 

KDF

  Audi TT Stronic
ah, ye you should always unmount it first, or atleast remount it in RO.

Lesson learned !
 
XFS once bit me on the ass..

I did a repair with an old version of xfstools.. and it failed, so what did I do?

while true; do xfs_repair whatever; done

and left it overnight.

Never did see that data again :(
 

KDF

  Audi TT Stronic
I never use XFS anymore, there are too many issues when you use it in combination with software RAID and LVM's can get stack overflows.. always stick with ext3 now.. tried n tested and all that.. just doesnt have good file deletion recovery (read non existent ;) )
 
Fixed the barsteward!

I had to to a full reinstall in the end. System is running about 10 times faster now so it was worth the extra hassle. I'm running a development copy of Ubuntu (Fiesty Fawn v 7.4) :D

Remember kiddies dont run the 'fsck' command on a mounted disk :dead:
 
I know Si. I've been using XP Pro at home for the past couple of weeks and its been driving me nuts. I just needed to find a day when I wasnt planning to do anything other than sit infront of my PC.

Fiesty looks the same pretty much as Edgy, but they have tweeked some of the default themes. I've customised my desktop pretty much exactly the same as my previous install.

In Edgy my wireless worked out the box, but FF it needed some tweeking. I think they are roughly the same bootup time wise, but I think the system is running smoother. Browsing the net and watching video seems easier. Scrolling webpages etc is much, much faster. This maybe becuase I've been using windows and my windows partition is full of s**t protecting it against viruses and has about 50 background processes going on.....(pile of shite!)

I'll let you know how I'm getting on. Plus, I think the full distro is coming out in a couple of weeks.

Did you go back to ubuntu after Open Suse and FreeBSD?
 
  Not a Clio
Other half is still running Ubuntu so I'll probably get to see it on her box if she decides to upgrade.

I went back to openSUSE after PC-BSD. I like SUSE (KDE) more than Ubuntu.

If I can ever get sound to work in PC-BSD then I'll probably move to that full time. It's so bloody quick!
 


Top