Ext3 partition error after trouble with fedora installation
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Ext3 partition error after trouble with fedora installation
Hello,
I installed Fedora 11 over my old openSUSE distro. I had the suse in two partition /dev/sda6 for / and /dev/sda7 for /home .
Fedora said I had to delete the /dev/sda6 partition so i could make two partitions of it, one ext3 for /boot and one ext4 for / (i wanted the ext4).
As a result I deleted the /dev/sda6 and then I got my /dev/sda7 renamed to /dev/sda6 and I proceeded before noticing. Now I have the two new partitions as /dev/sda7 , /dev/sda8 and the old sda7 as sda6.
Now if I mount it, it appears to be empty. I tried TestDisk but it gives me "The Following Partition can't be recovered". I tried photorec and it starts fetching files but it's very difficult to find the files I want in this way. Is it possible to resurrect the dead ?
I would start by deleting /dev/sda7 - it's only 205k
Then use some partition manager to make a partition setup you can use. If you go for fdisk, sinply type 'n' and follow the prompts. Then you have lost data, so make sure the partitions are correct in /etc/fstab. Never mind if a partition can't be recovered.
if you simply want to change the numbers, change them in /etc/fstab. Then you can mount the thing. Without doing that, you can mount it manually
mount -t type /dev/sdan /mount-point e.g.
mount -t ext3 /dev/sda6 /mnt/hd
You have your java files. Good. fdisk will not shift numbers up, but will shift them down. If you delete, e.g. sda5, all above will drop by one. sda6 becomes sda5, etc. If you now remake sda5, it gets a number one higher than the highest existing partition.
You can usually remake the partitions exactly as they were and recover the filesystem on it.No guarantees. Also if you have a wiorking system, there is testdisk http://www.icewalkers.com/Linux/Soft.../TestDisk.html
It is good. Take it from someone who has needed it.
I tried TestDisk but it gives me "The Following Partition can't be recovered".
I cannot clone the whole partition because I have not enough space left on any disk. Maybe I will just delete them all. But I bet there's some way to recover the files. If not, no real prob, but that's a pity!
you have plenty of space on NTFS, by the looks of it. All you need is a scratchpad - a small amount of space somewhareon your box. Then you can recover them to there, and send them on.
Gmail takes 25 meg attachments. www.freedrive.com gives 100gig. If you have another drive, or another box, you can network them.
ifconfig eth0 -pointopoint <some_ip> up <your_ip>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.