Sou um pouco novo nisso e tenho um grande problema. Algo deu errado com um comando initramfs, a energia falhou e agora eu tenho um HD que não funciona. Nova instalação com USB não funciona. O USB Boot-Repair deu os seguintes resultados:
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014] ============================= Boot Info Summary: =============================== sdb: ___________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys ============================ Drive/Partition Info: ============================= no valid partition table found "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/loop0 squashfs /dev/sdb 86C8-14A1 vfat bootrepair /dev/zram0 afa290e2-6ebb-45d5-b973-5598a55a63f3 swap /dev/zram1 dc754150-9029-41c3-af73-69b0490be5f5 swap /dev/zram2 847a655c-fd48-40dd-a850-5506d9d521d4 swap /dev/zram3 93b8fddd-b957-4d52-a671-851f3b2082c5 swap ========================= "ls -l /dev/disk/by-id" output: ====================== total 0 lrwxrwxrwx 1 root root 9 Sep 17 02:44 ata-HL-DT-ST_DVDRAM_GUE1N_KX5H3B61955 -> ../../sr0 lrwxrwxrwx 1 root root 9 Sep 17 03:03 ata-ST1000LM035-1RK172_WES0389X -> ../../sda lrwxrwxrwx 1 root root 9 Sep 17 03:03 usb-Generic_Flash_Disk_18963387-0:0 -> ../../sdb lrwxrwxrwx 1 root root 9 Sep 17 03:03 wwn-0x5000c5009c950579 -> ../../sda lrwxrwxrwx 1 root root 9 Sep 17 02:44 wwn-0x5001480000000000 -> ../../sr0 ================================ Mount points: ================================= Device Mount_Point Type Options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sdb /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) =========================== sdb/boot/grub/grub.cfg: ============================ -------------------------------------------------------------------------------- if loadfont /boot/grub/font.pf2 ; then 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 "Boot-Repair-Disk session" { set gfxpayload=keep linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- initrd /casper/initrd.lz } -------------------------------------------------------------------------------- ============================== sdb/syslinux.cfg: =============================== -------------------------------------------------------------------------------- default menu.c32 prompt 0 menu title UNetbootin timeout 100 label unetbootindefault menu label Default kernel /ubnkern append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- label ubnentry0 menu label ^Help kernel /ubnkern append initrd=/ubninit label ubnentry1 menu label ^64bit session kernel /casper/vmlinuz.efi append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- label ubnentry2 menu label ^64bit session (failsafe) kernel /casper/vmlinuz.efi append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal -- label ubnentry3 menu label Boot-Repair-Disk session kernel /casper/vmlinuz.efi append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- -------------------------------------------------------------------------------- =============== sdb: Version of COM32(R) files used by Syslinux: =============== libcom32.c32 : not a COM32/COM32R module libutil.c32 : not a COM32/COM32R module menu.c32 : not a COM32/COM32R module ========= Devices which don't seem to have a corresponding hard drive: ========= sda =============================== StdErr Messages: =============================== File descriptor 9 (/proc/7945/mounts) leaked on lvs invocation. Parent PID 13040: bash File descriptor 63 (pipe:[29506]) leaked on lvs invocation. Parent PID 13040: bash No volume groups found ADDITIONAL INFORMATION : =================== log of boot-info 2017-09-17__03h00 =================== boot-info version : 4ppa14 boot-sav version : 4ppa14 glade2script version : 3.2.2~ppa47~saucy boot-sav-extra version : 4ppa14 File descriptor 9 (/proc/7945/mounts) leaked on lvs invocation. Parent PID 9767: /bin/sh No volume groups found boot-info is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64) ls: cannot access /home/usr/.config: No such file or directory CPU op-mode(s): 32-bit, 64-bit BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- =================== os-prober: =================== blkid: /dev/loop0: TYPE="squashfs" /dev/zram0: UUID="afa290e2-6ebb-45d5-b973-5598a55a63f3" TYPE="swap" /dev/sdb: LABEL="bootrepair" UUID="86C8-14A1" TYPE="vfat" /dev/zram1: UUID="dc754150-9029-41c3-af73-69b0490be5f5" TYPE="swap" /dev/zram2: UUID="847a655c-fd48-40dd-a850-5506d9d521d4" TYPE="swap" /dev/zram3: UUID="93b8fddd-b957-4d52-a671-851f3b2082c5" TYPE="swap" efibootmgr -v BootCurrent: 0003 Timeout: 1 seconds BootOrder: 0003,0002,0000 Boot0000* Endless OS Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,) Boot0002* ubuntu Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,) Boot0003* UEFI: Generic Flash Disk 8.07 ACPI(a0341d0,0)PCI(15,0)USB(2,0)..BO =================== UEFI/Legacy mode: Unusual EFI: Please report this message to [email protected] BIOS is EFI-compatible, and is setup in EFI-mode for this live-session. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected]) =================== PARTITIONS & DISKS: =================== parted -l: Model: Generic Flash Disk (scsi) Disk /dev/sdb: 1011MB Sector size (logical/physical): 512B/512B Partition Table: loop Number Start End Size File system Flags 1 0.00B 1011MB 1011MB fat32 Error: /dev/zram0: unrecognised disk label Error: /dev/zram1: unrecognised disk label Error: /dev/zram2: unrecognised disk label Error: /dev/zram3: unrecognised disk label =================== parted -lm: BYT; /dev/sdb:1011MB:scsi:512:512:loop:Generic Flash Disk; 1:0.00B:1011MB:1011MB:fat32::; Error: /dev/zram0: unrecognised disk label Error: /dev/zram1: unrecognised disk label Error: /dev/zram2: unrecognised disk label Error: /dev/zram3: unrecognised disk label =================== 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/sdb on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/loop0 on /rofs type squashfs (ro,noatime) none on /sys/fs/cgroup type tmpfs (rw) 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) none on /sys/firmware/efi/efivars type efivarfs (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) none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) none on /sys/fs/pstore type pstore (rw) systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd) gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu) =================== 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 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 size slaves stat subsystem trace uevent /sys/block/sr0 (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 /dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sdb sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero ls /dev/mapper: control =================== df -Th: Filesystem Type Size Used Avail Use% Mounted on /cow overlayfs 3.9G 5.2M 3.9G 1% / udev devtmpfs 3.9G 12K 3.9G 1% /dev tmpfs tmpfs 785M 1.1M 784M 1% /run /dev/sdb vfat 963M 647M 316M 68% /cdrom /dev/loop0 squashfs 549M 549M 0 100% /rofs none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup tmpfs tmpfs 3.9G 12K 3.9G 1% /tmp none tmpfs 5.0M 0 5.0M 0% /run/lock none tmpfs 3.9G 0 3.9G 0% /run/shm none tmpfs 100M 16K 100M 1% /run/user =================== fdisk -l: Disk /dev/sdb: 1010 MB, 1010827264 bytes 32 heads, 61 sectors/track, 1011 cylinders, total 1974272 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: 0x00000000 Device Boot Start End Blocks Id System Error: no partitions gui-tab-other.sh: line 94: _checkbutton_repairfilesystems: command not found =================== Suggested repair The default repair of the Boot-Repair utility would not act on the MBR. Additional repair would be performed: repair-filesystems =================== User settings The settings chosen by the user will not act on the boot.
Antes que eu mexa mais, prefiro perguntar como posso consertar o HD bad block, não importa recuperar os dados realmente, embora seja bom consertá-lo. Meu laptop tem apenas 4 meses de idade. O sistema operacional instalado originalmente era o Endless OS, mas eu instalei o Ubuntu 16.04 em todo o HD.