Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I installed BackTrack5, when installing I could'nt boot into Windows 7 after, and then the whole partition of BT5 deleted, and I don't get it, W7 was on a different ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    6

    Really need help. Please read lol.

    I installed BackTrack5, when installing I could'nt boot into Windows 7 after, and then the whole partition of BT5 deleted, and I don't get it, W7 was on a different HDD, then I installed Ubuntu 9.10 from the disk, and now the menu which you select OS's when I click on W7 it says device not found.

    I had to install 10.10 over the corrupted/messe'd up BT5 partition, because it said something about grub rescue and it was messed up.

    Is there any way I can restore Windows 7, it's killing me

    Thanks.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    Is this a Desktop computer or a laptop?
    Exactly how many hard drives do you have?
    If I understand your post, you now have windows 7 (which you cannot boot) and Ubuntu 10.10 which you can boot, is that correct? You state you installed Ubuntu 9.10 and later say Ubuntu 10.10??

    If you are able to boot Ubuntu, click the Applications tab at the upper left of the Desktop and move the mouse down and look for terminal, click on terminal to open that window. Then get your drve/partition information to post here to get help by issuing the following command: sudo fdisk -l(that's a Lower Case Letter L, not a number one). You should be prompted for your user password.

    Was windows 7 pre-installed on the computer?
    While you are in Ubuntu terminal type: gksu natuilus to open the file manager (you may be prompted for your user password again) and navigate to the /boot/grub/grub.cfg file and post the contents of this file.

    With the above information, someone should then be able to tell you if you still have your windows partitions, where they are and how to make an entry for Grub to boot windows 7.

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Posts
    6
    Quote Originally Posted by yancek View Post
    Is this a Desktop computer or a laptop?
    Exactly how many hard drives do you have?
    If I understand your post, you now have windows 7 (which you cannot boot) and Ubuntu 10.10 which you can boot, is that correct? You state you installed Ubuntu 9.10 and later say Ubuntu 10.10??

    If you are able to boot Ubuntu, click the Applications tab at the upper left of the Desktop and move the mouse down and look for terminal, click on terminal to open that window. Then get your drve/partition information to post here to get help by issuing the following command: sudo fdisk -l(that's a Lower Case Letter L, not a number one). You should be prompted for your user password.

    Was windows 7 pre-installed on the computer?
    While you are in Ubuntu terminal type: gksu natuilus to open the file manager (you may be prompted for your user password again) and navigate to the /boot/grub/grub.cfg file and post the contents of this file.

    With the above information, someone should then be able to tell you if you still have your windows partitions, where they are and how to make an entry for Grub to boot windows 7.
    It's a desktop, and I installed W7 ultamate.

    I installed 9.10 sorry.

    I have to manually write this, and English isn't my first language, so if there are any mistakes, sorry.

    Disk /dev/sda: 320.1GB , 320072933376bytes
    255Heads, 63Sectors/track, 38913 cylinders
    Units = Cylinders of 16065 * 512 = 8225280bytes
    Disk Identifier: 0xd53fcee4

    Device Boot Start End Blocks ID System
    /dev/sda1 * 1306 38913 302081737 7 HPFS/NTFS

    Text won't allign to Device, Boot, Start etc.

    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb/! The util fdisk doesn't support GPT, Use GNU Parted.


    Disk /dev/sdb: 60.0GB, 6001164880 bytes
    225heads, 63 sectors/tracks, 7296 cylinders
    Units = cynliders of 16065 * 512 = 8225280 bytes
    Disk Identifier = 0x00000000

    Device Boot Start End Blocks ID System
    /dev/sdb1 (Nothing here, me saying this) 1 7296 58605119+ ee GPT

    Text won't allign to Device, Boot, Start etc.









    "Type: gksu natulius" - Won't do anything, but doesn't say invalid comman, etc.


    Thanks, hopefully, I have not lost my important files/folders in Win7.

  4. #4
    Just Joined!
    Join Date
    Sep 2006
    Posts
    3
    I had a situation recently where I could not boot windows (turned out to be a hardware problem that was easy to fix) and I mounted the windows partition in my Suse linux. From there I could copy over all the files I was worried about losing - I can always reinstall windows and my apps.
    basic steps were (need to be root level)
    mkdir win7 (or whatever you like to call the directory)
    mount -t ntfs /dev/sda1 win7
    cd win7
    ls (to see if your directories are there)
    from there you can use cp -r to copy files to wherever you like

    it worries me that grub did not find your win7 when you installed Ubuntu

  5. #5
    Just Joined!
    Join Date
    Aug 2008
    Posts
    4
    The first thing is to get windows back. The following is from Microsoft:
    windows.microsoft.com/en-US/windows-vista/Startup-Repair-frequently-asked-questions
    sorry I can't post the full URL
    The second thing is it sounds the second disk has the wrong label. Post back and let us know how getting windows back went.
    good luck

  6. #6
    Just Joined!
    Join Date
    Jun 2011
    Posts
    6
    So it seems I need a Windows repair disk to do this, atm I don't have one, I'll ask my mate to see if he has one, from there it should be OK.

  7. #7
    Just Joined!
    Join Date
    Jun 2011
    Posts
    6
    Quote Originally Posted by jbol View Post
    I had a situation recently where I could not boot windows (turned out to be a hardware problem that was easy to fix) and I mounted the windows partition in my Suse linux. From there I could copy over all the files I was worried about losing - I can always reinstall windows and my apps.
    basic steps were (need to be root level)
    mkdir win7 (or whatever you like to call the directory)
    mount -t ntfs /dev/sda1 win7
    cd win7
    ls (to see if your directories are there)
    from there you can use cp -r to copy files to wherever you like

    it worries me that grub did not find your win7 when you installed Ubuntu
    It does but it saying something wrong with it, I can browse in it and whatnot though.

  8. #8
    Just Joined!
    Join Date
    Aug 2008
    Posts
    4
    About the windows repair you use the installation disk. I just assumed you have one because you said you installed W7 ultimate.
    Just boot, select the language, and select Repair your computer.
    after that follow the steps in that link I gave you.
    By the way I don't know about other distros. but in mine if you mount an ntfs partition with - t ntfs it will mount ro to mount it rw try -t ntfs-3g
    Last edited by jfxg; 06-27-2011 at 10:27 AM.

  9. #9
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb/! The util fdisk doesn't support GPT, Use GNU Parted.
    The message above is just telling you to use GParted to get the information on your Ubuntu partition. It also shows your windows partition on sda1 and since you say you can see your windows files from Ubuntu, windows 7 is probably still there without problems. I believe GParted is on the Ubuntu installation disk but probably not on the installation. Use your installation CD, boot it, go to the System tab on the Desktop and look for GParted and use it to get info.

    I just noticed the command I gave you earlier was misspelled. It is nautilus, the file manager.

    If you are able to boot Ubuntu from the hard drive, you should be able to get windows 7 in the bootloader menu by running the following commands consecutively:

    sudo os-prober

    When that finishes run:

    sudo update-grub

    Grub2 usually detects other sytems (windows and Linux) pretty well so it is hard to say why it did not detect win 7 for you?

    You should have a repair option on your windows 7 installation disk. If you don't have the disk, you can get a Recovery disk to do some repairs of windows 7 at the site below. I would suggest reading the page before beginning. If the commands above for Ubuntu don't work, try this.

    Download Windows 7 System Recovery Discs — The NeoSmart Files

    It does but it saying something wrong with it, I can browse in it and whatnot though.
    Is this the "device not found" error you mentioned in the first post?

  10. #10
    Just Joined!
    Join Date
    Apr 2011
    Posts
    1
    add an entry to grub configuration file like this
    root /dev/hda0 /*whatever partition ur windows is on you can fdisk -l for it*/
    then chainloader +1
    boot

    you can type these commands successively on the grub prompt also. it will boot into ur windows i'm sure

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...