Skip to main content

Thread: Restoring Windows Partition


earlier today installed kubuntu on pc intent of dual booting windows 7 mistakenly formatted entire pc in process. of testdisk, i've restored windows partitions , deleted linux ones. need booting os. i'm running kubuntu usb drive.

current table.

code:
disk /dev/sda - 320 gb / 298 gib - chs 38913 255 63                               current partition structure:                                                           partition                  start        end    size in sectors                                                                                                  1 * hpfs - ntfs              0  32 33   191  89 26    3072000                     2 p hpfs - ntfs            191  89 27 37730 191 29  603070464 [ti105832w0g]       3 p hpfs - ntfs          37730 191 30 38913  70  5   18997248

i ran boot info script:

code:
                  boot info script 0.60    17 may 2011      ============================= boot info summary: ===============================     => grub2 (v1.99) installed in mbr of /dev/sda , looks @ sector 1 of       same hard drive core.img. core.img @ location , looks       ?? on drive.   => syslinux mbr (4.04 , higher) installed in mbr of /dev/sdc.    sda1: __________________________________________________________________________        file system:       ext4      boot sector type:  windows vista/7      boot sector info:        mounting failed:   mount: /dev/sda1 mounted or sda1 busy    sda2: __________________________________________________________________________        file system:             boot sector type:  windows vista/7      boot sector info:        mounting failed:   mount: /dev/sda1 mounted or sda1 busy  mount: unknown filesystem type ''    sda3: __________________________________________________________________________        file system:             boot sector type:  windows vista/7      boot sector info:        mounting failed:   mount: /dev/sda1 mounted or sda1 busy  mount: unknown filesystem type ''  mount: unknown filesystem type ''    sdc1: __________________________________________________________________________        file system:       vfat      boot sector type:  syslinux 4.04 2011-04-18      boot sector info:   syslinux looks @ sector 16784832 of /dev/sdc1                          second stage. syslinux installed in                           directory. integrity check of adv area failed.                          no errors found in boot parameter block.      operating system:        boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys    ============================ drive/partition info: =============================    drive: sda _____________________________________________________________________    disk /dev/sda: 320.1 gb, 320072933376 bytes  255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors  units = sectors of 1 * 512 = 512 bytes  sector size (logical/physical): 512 bytes / 512 bytes    partition  boot  start sector    end sector  # of sectors  id system    /dev/sda1    *          2,048     3,074,047     3,072,000   7 ntfs / exfat / hpfs  /dev/sda2           3,074,048   606,144,511   603,070,464   7 ntfs / exfat / hpfs  /dev/sda3         606,144,512   625,141,759    18,997,248   7 ntfs / exfat / hpfs      drive: sdc _____________________________________________________________________    disk /dev/sdc: 15.8 gb, 15833268224 bytes  1 heads, 32 sectors/track, 966386 cylinders, total 30924352 sectors  units = sectors of 1 * 512 = 512 bytes  sector size (logical/physical): 512 bytes / 512 bytes    partition  boot  start sector    end sector  # of sectors  id system    /dev/sdc1    *             64    30,924,351    30,924,288   c w95 fat32 (lba)      "blkid" output: ________________________________________________________________    device           uuid                                   type       label    /dev/loop0                                              squashfs     /dev/sda1        a3772039-6a8c-4a8a-b46e-14daa911dac3   ext4         /dev/sdc1                                               vfat       pendrive    ================================ mount points: =================================    device           mount_point              type       options    /dev/loop0       /rofs                    squashfs   (ro,noatime)  /dev/sdc1        /cdrom                   vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)      =========================== sdc1/boot/grub/grub.cfg: ===========================    --------------------------------------------------------------------------------    if loadfont /boot/grub/font.pf2 ;  	set gfxmode=auto  	insmod efi_gop  	insmod efi_uga  	insmod gfxterm  	terminal_output gfxterm  fi    set menu_color_normal=white/black  set menu_color_highlight=black/light-gray    menuentry "start kubuntu" {  	set gfxpayload=keep  	linux	/casper/vmlinuz  file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity quiet splash --  	initrd	/casper/initrd.lz  }  menuentry "check disc defects" {  	set gfxpayload=keep  	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash --  	initrd	/casper/initrd.lz  }  --------------------------------------------------------------------------------    ========================= sdc1/syslinux/syslinux.cfg: ==========================    --------------------------------------------------------------------------------  # d-i config version 2.0  include menu.cfg  default vesamenu.c32  prompt 0  timeout 50    # if use new menu , presented option install or run usb @ startup, remove # following line. line commented out (by request of many) allow old menu presented , enable booting straight live environment!   # ui gfxboot bootlogo  --------------------------------------------------------------------------------    =================== sdc1: location of files loaded grub: ====================               gib - gb             file                                 fragment(s)                ?? = ??             boot/grub/grub.cfg                             1    ================= sdc1: location of files loaded syslinux: ==================               gib - gb             file                                 fragment(s)                ?? = ??             ldlinux.sys                                    1              ?? = ??             syslinux/gfxboot.c32                           1              ?? = ??             syslinux/syslinux.cfg                          1              ?? = ??             syslinux/vesamenu.c32                          1    ============== sdc1: version of com32(r) files used syslinux: ===============     syslinux/gfxboot.c32               :  com32r module (v4.xx)   syslinux/vesamenu.c32              :  com32r module (v4.xx)    ========= devices don't seem have corresponding hard drive: =========    sdb     =============================== stderr messages: ===============================    /home/ubuntu/desktop/boot_info_script.sh: line 1579: [: 2.73495e+09: integer expression expected


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [kubuntu] Restoring Windows Partition


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support