(refined for ease of use)Okay, so I'm fairly new to linux, but heres what I've got so far:I'm dual booting BT5R3 and Win7.  I was trying to change the grub to set Win7 as the default boot option. I've done this before, but I had just openned the file by going to etc/default/grub. This time I tried using the command prompt. I'm not sure what went wrong. I don't know if I erased my Win7 partition, but all my files are still on my OS, so I don't think I did.Usefull (maybe?) info:Full history log (comand prompt):1  exit    2  startx    3  apt-get software center    4  apt-get software-center    5  sudo apt-get software-center    6  install software-center    7  mkdir /opt/java    8  mv -f jre1.70_05/ /opt/java    9  tar xzvf jre-7u45-linux-i586.tar.gz.   10  tar: tar xzvf jre-7u45-linux-i586.tar.gz   11  tar xzvf jre-7u45-linux-i586.tar.gz   12  apt-get install synaptic   13  help   14  install synaptic   15  apt-get synaptic   16  apt-get install synaptic   17  lspci -v   18  help]   19  help   20  help mapfile   21  help   22  info strict refs   23  startx   24  edit grub   25  search grub   26  apt-get install sphinxsearch   27  search grub   28  edit grub boot   29  find grub   30  startx   31  startsx   32  startx   33  -terminal   34  terminal   35  apt-get install rsplib-tools   36  --fix-missing   37  apt-get update   38  terminal   39  apt-get install rsplib-tools   40  terminal   41  update grub   42  update-grub   43  open partition manager   44  open   45  help   46  search partition manager   47  help   48  find partition manager   49  find partitionmanager   50  startx   51  find gparted   52  get gparted   53  get Gparted   54  get-apt Gparted   55  X-AppInstall-Package=gparted   56  help   57  startx   58  run history   59  history   60  sudo grub-mkconfig > /dev/null   61  sudo fdisk -1   62  sudo update-grub   63  Generating grub.cfg ...   64  Found linux image: /boot/vmlinuz-3.2.6   65  Found initrd image: /boot/initrd.img-3.2.6   66  Found memtest86+ image: /boot/memtest86+.bin   67  done   68  fdisk-l   69  fdisk -l   70  history   71  sudo update-grub   72  search grub   73  root@bt:~# sudo update-grub   74  sudo update-grub   75  History   76  historyHistory that I think is most relevant (around the time I initially changed grub):32  startx       33  -terminal       34  terminal       35  apt-get install rsplib-tools       36  --fix-missing       37  apt-get update       38  terminal       39  apt-get install rsplib-tools       40  terminal       41  update grub       42  update-grub       43  open partition manager       44  open       45  help       46  search partition managerOkay, now here's my grub file:# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.    GRUB_DEFAULT=4    #GRUB_HIDDEN_TIMEOUT=0    GRUB_HIDDEN_TIMEOUT_QUIET=false    GRUB_TIMEOUT=10    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`    GRUB_CMDLINE_LINUX_DEFAULT=text splash vga=791    GRUB_CMDLINE_LINUX=    # Uncomment to disable graphical terminal (grub-pc only)    #GRUB_TERMINAL=console    # The resolution used on graphical terminal    # note that you can use only modes which your graphic card supports via VBE    # you can see them in real GRUB with the command `vbeinfo'    GRUB_GFXMODE=1024x768    # Uncomment if you don't want GRUB to pass root=UUID=xxx parameter to Linux    #GRUB_DISABLE_LINUX_UUID=trueand when I was trying to fix this earlier, someone asked for the fdisk-l report, so here's that...Disk /dev/sda: 1000.2 GB, 1000204886016 bytes255 heads, 63 sectors/track, 121601 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0xb3b6d9a6      Device Boot      Start         End      Blocks   Id  System    /dev/sda1   *           1          13      102400    7  HPFS/NTFS    Partition 1 does not end on cylinder boundary.    /dev/sda2              13       83647   671785946    7  HPFS/NTFS    /dev/sda3           83647      119927   291422209    5  Extended    /dev/sda4          119927      121577    13249536    7  HPFS/NTFS    /dev/sda5           83647      118706   281610240   83  Linux    /dev/sda6          118706      119927     9810944   82  Linux swap / SolarisAnyways, I'm fairly positive the partitions still there, and I'd really appriciate any help on re-accessing it. Thank you.Also, I'm happy to give any more info if it's of any use.
Windows partition hidden?
ubuntu;partition;windows;dual boot;backtrack