Results 1 to 6 of 6

Thread: lost grub, unable to get back

  1. #1
    Join Date
    Jun 2013
    Beans
    3

    lost grub, unable to get back

    I accidentally selected a windows recovery partition when grub loaded my selections. I exited the recovery and shut down the pc normally but when I booted up again I got some kind of pc error and no grub. I found some kind of boot repair and now my netbook loads windows immediately with no options like when grub was working. I'm sure the Ubuntu partition is still there but I have been so far unable to access it to save my data there. I loaded auto supergrub on a usb datakey to try to solve the issue but it won't load properly.

    Any ideas on how I can procede to at least save my data on my Ubuntu partition?


    thanks,
    FB

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: lost grub, unable to get back

    Hi furbreath. Welcome to the forum

    The recovery process probably reinstall the Windows boot loader, effectively wiping out grub.

    You can reinstall grub using the Ubuntu installation CD as a LIve CD, and then using Boot-Repair. Here's a tutorial.

    Hope it helps. Let us know how it goes.
    Regards.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: lost grub, unable to get back

    Some of the systems seem to rewrite the partition table as soon as you start recovery. And since it does not expect Ubuntu overwrites the partition table entry.
    If you do not have any ext3 or ext4 partitions then you may need to use testdisk.

    Post this.

    sudo parted -l
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Jun 2013
    Beans
    3

    Re: lost grub, unable to get back

    Having trouble with the boot repair...some options seem to be faded out on the advanced menu. Here is the analysis I pulled from the tool :

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 3June2013] ============================= Boot Info Summary: =============================== => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdd. sda1: __________________________________________________ ________________________ File system: ntfs Boot sector type: Windows 7/2008: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /BOOTMGR /BOOT/BCD sda2: __________________________________________________ ________________________ File system: ntfs Boot sector type: Windows 7/2008: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /bootmgr /Boot/BCD sda3: __________________________________________________ ________________________ File system: ntfs Boot sector type: Windows 7/2008: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Windows 7 Boot files: /Windows/System32/winload.exe sda4: __________________________________________________ ________________________ File system: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________ ________________________ File system: swap Boot sector type: - Boot sector info: sdb1: __________________________________________________ ________________________ File system: vfat Boot sector type: SYSLINUX 4.04 2011-04-18 Boot sector info: Syslinux looks at sector 1453072 of /dev/sdb1 for its second stage. SYSLINUX is installed in the directory. No errors found in the Boot Parameter Block. Operating System: Boot files: /syslinux/syslinux.cfg /ldlinux.sys sdd1: __________________________________________________ ________________________ File system: vfat Boot sector type: SYSLINUX 4.04 2011-04-18 Boot sector info: Syslinux looks at sector 1031688 of /dev/sdd1 for its second stage. SYSLINUX is installed in the directory. No errors found in the Boot Parameter Block. Operating System: Boot files: /syslinux/syslinux.cfg /ldlinux.sys ============================ Drive/Partition Info: ============================= Drive: sda __________________________________________________ ___________________ Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 27,265,023 27,262,976 27 Hidden NTFS (Recovery Environment) /dev/sda2 * 27,265,024 27,469,823 204,800 7 NTFS / exFAT / HPFS /dev/sda3 27,469,824 272,948,255 245,478,432 7 NTFS / exFAT / HPFS /dev/sda4 272,949,246 488,396,799 215,447,554 5 Extended /dev/sda5 486,326,272 488,396,799 2,070,528 82 Linux swap / Solaris Drive: sdb __________________________________________________ ___________________ Disk /dev/sdb: 16.0 GB, 16039018496 bytes 256 heads, 25 sectors/track, 4894 cylinders, total 31326208 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/sdb1 * 2,208 31,326,207 31,324,000 c W95 FAT32 (LBA) Drive: sdd __________________________________________________ ___________________ Disk /dev/sdd: 4009 MB, 4009754624 bytes 128 heads, 22 sectors/track, 2781 cylinders, total 7831552 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/sdd1 * 1,128 7,831,551 7,830,424 b W95 FAT32 "blkid" output: __________________________________________________ ______________ Device UUID TYPE LABEL /dev/loop0 squashfs /dev/sda1 A2AA0C83AA0C5667 ntfs PQSERVICE /dev/sda2 80D40D6CD40D65AE ntfs SYSTEM RESERVED /dev/sda3 DC660FF2660FCBE8 ntfs Acer /dev/sda5 4af5a501-b2db-4f7f-bf46-d18f6bfb7af6 swap /dev/sdb1 E432-F704 vfat MYLINUXLIVE /dev/sdd1 240C-BD47 vfat MYLINUXLIVE ================================ Mount points: ================================= Device Mount_Point Type Options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,i ocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/sdd1 /media/MYLINUXLIVE vfat (rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,d mask=0077,utf8=1,showexec,flush,uhelper=udisks) ========================= sdb1/syslinux/syslinux.cfg: ========================== -------------------------------------------------------------------------------- # D-I config version 2.0 include menu.cfg default vesamenu.c32 prompt 0 timeout 50 ui gfxboot bootlogo -------------------------------------------------------------------------------- ================= sdb1: Location of files loaded by Syslinux: ================== GiB - GB File Fragment(s) ?? = ?? syslinux/syslinux.cfg 1 ?? = ?? ldlinux.sys 1 ?? = ?? syslinux/chain.c32 1 ?? = ?? syslinux/gfxboot.c32 1 ?? = ?? syslinux/vesamenu.c32 1 ============== sdb1: Version of COM32(R) files used by Syslinux: =============== syslinux/chain.c32 : COM32R module (v4.xx) syslinux/gfxboot.c32 : COM32R module (v4.xx) syslinux/vesamenu.c32 : COM32R module (v4.xx) ========================= sdd1/syslinux/syslinux.cfg: ========================== -------------------------------------------------------------------------------- # D-I config version 2.0 include menu.cfg default vesamenu.c32 prompt 0 timeout 300 ui gfxboot bootlogo -------------------------------------------------------------------------------- ================= sdd1: Location of files loaded by Syslinux: ================== GiB - GB File Fragment(s) ?? = ?? syslinux/syslinux.cfg 1 ?? = ?? ldlinux.sys 1 ?? = ?? syslinux/chain.c32 1 ?? = ?? syslinux/gfxboot.c32 1 ?? = ?? syslinux/vesamenu.c32 1 ============== sdd1: Version of COM32(R) files used by Syslinux: =============== syslinux/chain.c32 : COM32R module (v4.xx) syslinux/gfxboot.c32 : COM32R module (v4.xx) syslinux/vesamenu.c32 : COM32R module (v4.xx) ========= Devices which don't seem to have a corresponding hard drive: ========= sdc ADDITIONAL INFORMATION : =================== log of boot-repair 2013-06-30__02h55 =================== boot-repair version : 3.199~ppa6~precise boot-sav version : 3.199~ppa6~precise glade2script version : 3.2.2~ppa45~precise boot-sav-extra version : 3.199~ppa6~precise boot-repair is executed in live-session (Ubuntu 12.04.2 LTS, precise, Ubuntu, i686) ls: cannot access /home/usr/.config: No such file or directory CPU op-mode(s): 32-bit, 64-bit bootkbd=us console-setup/layoutcode=en_US console-setup/variantcode=nodeadkeys locale=us_us noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz splash -- maybe-ubiquity =================== os-prober: /dev/sda1:Windows Recovery Environment (loader):Windows:chain /dev/sda2:Windows 7 (loader):Windows1:chain =================== blkid: /dev/loop0: TYPE="squashfs" /dev/sda1: LABEL="PQSERVICE" UUID="A2AA0C83AA0C5667" TYPE="ntfs" /dev/sda2: LABEL="SYSTEM RESERVED" UUID="80D40D6CD40D65AE" TYPE="ntfs" /dev/sda3: LABEL="Acer" UUID="DC660FF2660FCBE8" TYPE="ntfs" /dev/sda5: UUID="4af5a501-b2db-4f7f-bf46-d18f6bfb7af6" TYPE="swap" /dev/sdb1: LABEL="MYLINUXLIVE" UUID="E432-F704" TYPE="vfat" /dev/sdd1: LABEL="MYLINUXLIVE" UUID="240C-BD47" TYPE="vfat" 1 disks with OS, 2 OS : 0 Linux, 0 MacOS, 2 Windows, 0 unknown type OS. Windows not detected by os-prober on sda3. Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. =================== No kernel in /media/MYLINUXLIVE/boot: grub =================== UEFI/Legacy mode: This live-session is not EFI-compatible. SecureBoot maybe enabled. =================== PARTITIONS & DISKS: sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, BOOTMGR, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1. sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2. sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3. sdd1 : sdd, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /media/MYLINUXLIVE. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes sdd : not-GPT, BIOSboot-not-needed, has-no-EFIpart, liveusb, no-os, 1128 sectors * 512 bytes =================== parted -l: Model: ATA ST9250315AS (scsi) Disk /dev/sda: 250GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 14.0GB 14.0GB primary ntfs diag 2 14.0GB 14.1GB 105MB primary ntfs boot 3 14.1GB 140GB 126GB primary ntfs 4 140GB 250GB 110GB extended 5 249GB 250GB 1060MB logical linux-swap(v1) Model: Lexar JumpDrive (scsi) Disk /dev/sdb: 16.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1130kB 16.0GB 16.0GB primary fat32 boot, lba Model: Lexar JumpDrive (scsi) Disk /dev/sdd: 4010MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 578kB 4010MB 4009MB primary fat32 boot =================== parted -lm: BYT; /dev/sda:250GB:scsi:512:512:msdos:ATA ST9250315AS; 1:1049kB:14.0GB:14.0GB:ntfs::diag; 2:14.0GB:14.1GB:105MB:ntfs::boot; 3:14.1GB:140GB:126GB:ntfs::; 4:140GB:250GB:110GB:::; 5:249GB:250GB:1060MB:linux-swap(v1)::; BYT; /dev/sdb:16.0GB:scsi:512:512:msdos:Lexar JumpDrive; 1:1130kB:16.0GB:16.0GB:fat32::boot, lba; BYT; /dev/sdd:4010MB:scsi:512:512:msdos:Lexar JumpDrive; 1:578kB:4010MB:4009MB:fat32::boot; =================== mount: /cow on / type overlayfs (rw) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,i ocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/loop0 on /rofs type squashfs (ro,noatime) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) tmpfs on /tmp type tmpfs (rw,nosuid,nodev) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu) /dev/sdd1 on /media/MYLINUXLIVE type vfat (rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,d mask=0077,utf8=1,showexec,flush,uhelper=udisks) /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) /dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) =================== ls: /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent /sys/block/sdc (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent /sys/block/sdd (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdd1 size slaves stat subsystem trace uevent /dev (filtered): agpgart alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sdc sdd sdd1 sg0 sg1 sg2 sg3 shm snapshot snd stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero ls /dev/mapper: control =================== hexdump -n512 -C /dev/sda1 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....| 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......| 00000020 00 00 00 00 80 00 80 00 ff ff 9f 01 00 00 00 00 |................| 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................| 00000040 f6 00 00 00 01 00 00 00 67 56 0c aa 83 0c aa a2 |........gV......| 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..| 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N| 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...| 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......| 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........| 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..| 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.| 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............| 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-| 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..| 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf| 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..| 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.| 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...| 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...| 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.| 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........| 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......| 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.| 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A | 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error | 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM| 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...| 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr| 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct| 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re| 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.| 00000200 =================== hexdump -n512 -C /dev/sda2 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....| 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 a0 01 |........?.......| 00000020 00 00 00 00 80 00 80 00 ff 1f 03 00 00 00 00 00 |................| 00000030 55 21 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U!..............| 00000040 f6 00 00 00 01 00 00 00 ae 65 0d d4 6c 0d d4 80 |.........e..l...| 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..| 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N| 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...| 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......| 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........| 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..| 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.| 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............| 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-| 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..| 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf| 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..| 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.| 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...| 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...| 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.| 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........| 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......| 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.| 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A | 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error | 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM| 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...| 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr| 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct| 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re| 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.| 00000200 =================== hexdump -n512 -C /dev/sda3 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....| 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 28 a3 01 |........?....(..| 00000020 00 00 00 00 80 00 80 00 18 b4 a1 0e 00 00 00 00 |................| 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................| 00000040 f6 00 00 00 01 00 00 00 e8 cb 0f 66 f2 0f 66 dc |...........f..f.| 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..| 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N| 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...| 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......| 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........| 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..| 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.| 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............| 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-| 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..| 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf| 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..| 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.| 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...| 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...| 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.| 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........| 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......| 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.| 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A | 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error | 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM| 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...| 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr| 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct| 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re| 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.| 00000200 =================== hexdump -n512 -C /dev/sdd1 00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 08 62 04 |.X.SYSLINUX...b.| 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 68 04 00 00 |........?...h...| 00000020 98 7b 77 00 cf 1d 00 00 00 00 00 00 02 00 00 00 |.{w.............| 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 80 00 29 47 bd 0c 24 4e 4f 20 4e 41 4d 45 20 20 |..)G..$NO NAME | 00000050 20 20 46 41 54 33 32 20 20 20 fa fc 31 c9 8e d1 | FAT32 ..1...| 00000060 bc 76 7b 52 06 57 1e 56 8e c1 b1 26 bf 78 7b f3 |.v{R.W.V...&.x{.| 00000070 a5 8e d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b |....x...7..V .x.| 00000080 31 c0 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c |1....?.G..d....|| 00000090 88 4d f8 50 50 50 50 cd 13 eb 62 8b 55 aa 8b 75 |.M.PPPP...b.U..u| 000000a0 a8 c1 ee 04 01 f2 83 fa 4f 76 31 81 fa b2 07 73 |........Ov1....s| 000000b0 2b f6 45 b4 7f 75 25 38 4d b8 74 20 66 3d 21 47 |+.E..u%8M.t f=!G| 000000c0 50 54 75 10 80 7d b8 ed 75 0a 66 ff 75 ec 66 ff |PTu..}..u.f.u.f.| 000000d0 75 e8 eb 0f 51 51 66 ff 75 bc eb 07 51 51 66 ff |u...QQf.u...QQf.| 000000e0 36 1c 7c b4 08 e8 e9 00 72 13 20 e4 75 0f c1 ea |6.|.....r. .u...| 000000f0 08 42 89 16 1a 7c 83 e1 3f 89 0e 18 7c fb bb aa |.B...|..?...|...| 00000100 55 b4 41 e8 cb 00 72 10 81 fb 55 aa 75 0a f6 c1 |U.A...r...U.u...| 00000110 01 74 05 c6 06 46 7d 00 66 b8 08 be 0f 00 66 ba |.t...F}.f.....f.| 00000120 00 00 00 00 bb 00 7e e8 0e 00 66 81 3e 1c 7e cf |......~...f.>.~.| 00000130 ae 1e 73 75 74 e9 f8 00 66 03 06 60 7b 66 13 16 |..sut...f..`{f..| 00000140 64 7b b9 10 00 eb 2b 66 52 66 50 06 53 6a 01 6a |d{....+fRfP.Sj.j| 00000150 10 89 e6 66 60 b4 42 e8 77 00 66 61 8d 64 10 72 |...f`.B.w.fa.d.r| 00000160 01 c3 66 60 31 c0 e8 68 00 66 61 e2 da c6 06 46 |..f`1..h.fa....F| 00000170 7d 2b 66 60 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c |}+f`f..6.|f..>.|| 00000180 66 f7 f6 31 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 |f..1...f..f=....| 00000190 77 17 c0 e4 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 |w....A..........| 000001a0 2f 00 66 61 72 01 c3 e2 c9 31 f6 8e d6 bc 68 7b |/.far....1....h{| 000001b0 8e de 66 8f 06 78 00 be da 7d ac 20 c0 74 09 b4 |..f..x...}. .t..| 000001c0 0e bb 07 00 cd 10 eb f2 31 c0 cd 16 cd 19 f4 eb |........1.......| 000001d0 fd 8a 16 74 7b 06 cd 13 07 c3 42 6f 6f 74 20 65 |...t{.....Boot e| 000001e0 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 00 00 |rror............| 000001f0 00 00 00 00 00 00 00 00 fe 02 b2 3e 18 37 55 aa |...........>.7U.| 00000200 =================== df -Th: Filesystem Type Size Used Avail Use% Mounted on /cow overlayfs 496M 74M 422M 15% / udev devtmpfs 488M 12K 488M 1% /dev tmpfs tmpfs 199M 868K 198M 1% /run /dev/sdb1 vfat 15G 831M 15G 6% /cdrom /dev/loop0 squashfs 663M 663M 0 100% /rofs tmpfs tmpfs 496M 32K 496M 1% /tmp none tmpfs 5.0M 4.0K 5.0M 1% /run/lock none tmpfs 496M 76K 496M 1% /run/shm /dev/sdd1 vfat 3.8G 633M 3.2G 17% /media/MYLINUXLIVE /dev/sda1 fuseblk 13G 8.6G 4.5G 67% /mnt/boot-sav/sda1 /dev/sda2 fuseblk 100M 25M 76M 25% /mnt/boot-sav/sda2 /dev/sda3 fuseblk 118G 92G 26G 78% /mnt/boot-sav/sda3 =================== fdisk -l: Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x18717d8e Device Boot Start End Blocks Id System /dev/sda1 2048 27265023 13631488 27 Hidden NTFS WinRE /dev/sda2 * 27265024 27469823 102400 7 HPFS/NTFS/exFAT /dev/sda3 27469824 272948255 122739216 7 HPFS/NTFS/exFAT /dev/sda4 272949246 488396799 107723777 5 Extended /dev/sda5 486326272 488396799 1035264 82 Linux swap / Solaris Disk /dev/sdb: 16.0 GB, 16039018496 bytes 256 heads, 25 sectors/track, 4894 cylinders, total 31326208 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdb1 * 2208 31326207 15662000 c W95 FAT32 (LBA) Disk /dev/sdd: 4009 MB, 4009754624 bytes 128 heads, 22 sectors/track, 2781 cylinders, total 7831552 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0006ad6e Device Boot Start End Blocks Id System /dev/sdd1 * 1128 7831551 3915212 b W95 FAT32 =================== Default settings Recommended-Repair This setting would restore the [(generic mbr)] MBR in sda, and make it boot on sda2. Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot =================== Settings chosen by the user Boot-Info This setting will not act on the MBR. No change has been performed on your computer. pastebinit packages needed dpkg-preconfigure: unable to re-open stdin: No such file or directory

    Download as text




  5. #5
    Join Date
    Jun 2013
    Beans
    3

    Re: lost grub, unable to get back

    oops, didnt come out as clear as i thought...here is the link instead :

    http://paste.ubuntu.com/5812759/

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: lost grub, unable to get back

    You have a lot of space from start of extended partition to start of swap.
    /dev/sda4 272,949,246 488,396,799 215,447,554 5 Extended
    /dev/sda5 486,326,272 488,396,799 2,070,528 82 Linux swap / Solaris

    Or from 272... to 486... looks like a missing partition?

    Testdisk or possibly some of the other methods should be able to recover it.
    https://help.ubuntu.com/community/Da...st%20Partition

    repairs including testdisk info & links
    http://members.iinet.net.au/~herman546/p21.html

    TestDisk Instructions
    http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
    http://www.cgsecurity.org/wiki/Menu_Analyse


    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

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