LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-19-2012, 11:49 AM   #1
hamidhqs
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
Question how to recover files from a deleted partition??


it is a complex problem i've faced nowadays listen:

1.it's a eee pc netbook which had ubuntu 12.04,backtrack4 and windows 7 installed on it.

2. i wanted to install windows xp instead of 7, so i used a win xp cd and first deleted win 7 partition and then installed win xp instead.

3.then grub gone!! and when i used ubuntu live cd to restore grub but i faced a problem and unfortunately all boot loaders gone.

4.using gparted within that live cd i saw that my home ext4 partition has gone too!!!( it was so important for me).

5.i used hiren's boot cd(testdisk utility) and fortunately my home partition were there.

now... how i can do all these problems i faced??
reinstalling grub,restoring my home partition which is so important for me, having a dual boot system again.

i have no direct access to internet so plz help me do these problems offline.
mer30

Last edited by hamidhqs; 06-20-2012 at 02:54 AM.
 
Old 06-20-2012, 05:17 AM   #2
soileas
LQ Newbie
 
Registered: Apr 2012
Distribution: Arch Linux, Backtrack 5, Raspbian
Posts: 8

Rep: Reputation: Disabled
if you want to have a dual boot linux/windows machine you need to install windows first and then install linux as the windows bootloader doesn't recognise linux

http://www.gnu.org/software/grub/man...2dinstall.html this should sort you out

also your ext4 partition might not be gone, I would trust fdisk over gparted.. open a terminal and type
fdisk -l
this lists your disks and partitions + filesystems etc
is your windows xp partition the same size as the windows 7 partition you had?
 
  


Reply

Tags
boot loader, grubinstall, recovery


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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 04:02 PM
GRUB GRUB GRUB.... all over the display while booting with USB. kapsikum Linux - General 5 01-08-2010 04:29 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM


All times are GMT -5. The time now is 01:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration