Δημοσιεύτηκε: 25 Σεπ 2012, 16:04
από Tuxer
Κώδικας: Επιλογή όλων
Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info September 18th 2012]


============================= Boot Info Summary: ===============================

=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


sda2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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 152,111,103 152,109,056 83 Linux
/dev/sda2 152,113,150 156,301,311 4,188,162 5 Extended
/dev/sda5 152,113,152 156,301,311 4,188,160 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 0d8ed3c2-9ede-479f-9b32-2645f8b981bd ext4
/dev/sda5 e8f37d57-3ea2-4dfa-b9dc-4b32ad97a96e swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000 9f f4 8e 04 d1 24 c8 ae e8 09 31 84 c4 49 30 b1 |.....$....1..I0.|
00000010 8a 10 1d 89 c3 90 0d 90 be a1 7a 38 8d 9f cd a6 |..........z8....|
00000020 aa 78 03 33 11 55 02 39 d3 8b 26 53 81 6f c0 79 |.x.3.U.9..&S.o.y|
00000030 c1 db f7 c4 c3 95 7a d4 59 00 5d 5f a6 b7 77 c8 |......z.Y.]_..w.|
00000040 07 3e 83 03 98 b2 4d 21 6d ea dd ed be c0 10 c1 |.>....M!m.......|
00000050 fb 77 25 37 98 a7 9f f3 92 88 17 a5 46 ca 0d 8b |.w%7........F...|
00000060 5e 24 f9 0c 5b 74 0c 3f c8 ad 08 cf ea 38 c7 3e |^$..[t.?.....8.>|
00000070 8c 33 ad 61 86 b4 ef 9b d1 74 78 33 9c 4c df 5f |.3.a.....tx3.L._|
00000080 8d ce cf ae a6 b7 a3 e1 cd 64 70 37 a6 e5 82 b9 |.........dp7....|
00000090 21 e2 94 f2 d9 4c 81 81 c6 ed 34 ba 9f 67 7f b1 |!....L....4..g..|
000000a0 39 29 25 f9 8e 15 35 d4 ca f2 0c d8 28 52 9e 87 |9)%...5.....(R..|
000000b0 df e4 4a 83 42 b7 87 61 4c 96 db e4 c6 53 ca af |..J.B..aL....S..|
000000c0 0d b2 8e 5e 2c 2a cb ca 48 b5 60 e0 b4 57 7c b3 |...^,*..H.`..W|.|
000000d0 4c 8c 1c 2f 21 8f 2d 98 20 90 19 c8 82 77 9c d7 |L../!.-. ....w..|
000000e0 f8 f9 e1 ec e3 60 4a b0 78 3e bc 1a 4e 7e 83 2e |.....`J.x>..N~..|
000000f0 ce de 5f 9f ed 62 f2 f9 0b f2 3d b9 93 1f 0e 81 |.._..b....=.....|
00000100 14 b4 1d 57 cc 18 42 5a 2e a9 0f 7e 39 61 5e 67 |...W..BZ...~9a^g|
00000110 11 53 ba 0a 0a fb 58 59 54 51 49 fc ce 90 7c 1d |.S....XYTQI...|.|
00000120 cf a4 1d b8 c1 bd 25 c5 5a 4e 68 02 32 c8 99 ac |......%.ZNh.2...|
00000130 33 08 f6 8e 6e 77 f9 57 3a 32 fe a5 47 0f 63 84 |3...nw.W:2..G.c.|
00000140 b9 dc ec c8 85 90 09 bd 13 bf 54 f0 07 0a 89 ec |..........T.....|
00000150 82 eb 35 be 19 05 8a 44 45 82 c7 2a c9 54 21 5d |..5....DE..*.T!]|
00000160 c9 80 12 4e e3 6c 8e 63 2c b6 35 93 d1 ea 27 f2 |...N.l.c,.5...'.|
00000170 85 27 30 ea 90 56 32 60 30 f0 5b 0a d0 89 64 01 |.'0..V2`0.[...d.|
00000180 a8 c3 ce 0b e4 69 45 66 e0 a3 85 e4 8c 1b 74 1c |.....iEf......t.|
00000190 a4 6d 3f 60 fe 60 0e e4 85 07 e2 d1 30 01 3d 10 |.m?`.`......0.=.|
000001a0 1c ce 4f df da d8 e9 62 bb 4b 85 38 7f 68 12 c6 |..O....b.K.8.h..|
000001b0 ed 53 9e 00 24 3a c7 c7 5b e7 6c 0a 4e b7 00 fe |.S..$:..[.l.N...|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 e8 3f 00 00 00 |............?...|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200



ADDITIONAL INFORMATION :
=================== log of boot-repair 2012-09-25__13h01 ===================
boot-repair version : 3.193-0ppa15~natty
boot-sav version : 3.193-0ppa29~natty
glade2script-gtk2 version : 0.0.1-0ppa4~natty
boot-sav-nonfree version : 3.18-0ppa20~natty
boot-repair is executed in live-session (Ubuntu 11.04, natty, Ubuntu, i686)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


=================== os-prober:
/dev/sda1:Ubuntu 12.04.1 LTS (12.04):Ubuntu:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="0d8ed3c2-9ede-479f-9b32-2645f8b981bd" TYPE="ext4"
/dev/sda5: UUID="e8f37d57-3ea2-4dfa-b9dc-4b32ad97a96e" TYPE="swap"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== dmesg | grep EFI :
This live-session is not EFI-compatible.


=================== 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.

sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, 2048 sectors * 512 bytes


=================== parted -l:

Model: ATA WDC WD800JD-22MS (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 77.9GB 77.9GB primary ext4 boot
2 77.9GB 80.0GB 2144MB extended
5 77.9GB 80.0GB 2144MB logical linux-swap(v1)




Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.


Error: /dev/sr0: unrecognised disk label

=================== parted -lm:

BYT;
/dev/sda:80.0GB:scsi:512:512:msdos:ATA WDC WD800JD-22MS;
1:1049kB:77.9GB:77.9GB:ext4::boot;
2:77.9GB:80.0GB:2144MB:::;
5:77.9GB:80.0GB:2144MB:linux-swap(v1)::;



Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.


Error: /dev/sr0: unrecognised disk label


=================== mount:
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)


=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment ext_range holders inflight power queue range removable ro sda1 sda2 sda5 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 cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 pktcdvd port ppp psaux ptmx pts random rfkill rtc rtc0 scd0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom usb usbmon0 usbmon1 usbmon2 usbmon3 usbmon4 usbmon5 usbmon6 usbmon7 usbmon8 vga_arbiter zero
ls /dev/mapper: control

=================== df -Th:

Filesystem Type Size Used Avail Use% Mounted on
aufs aufs 1006M 124M 883M 13% /
none devtmpfs 999M 676K 999M 1% /dev
/dev/sr0 iso9660 686M 686M 0 100% /cdrom
/dev/loop0
squashfs 658M 658M 0 100% /rofs
none tmpfs 1006M 216K 1006M 1% /dev/shm
tmpfs tmpfs 1006M 276K 1006M 1% /tmp
none tmpfs 1006M 92K 1006M 1% /var/run
none tmpfs 1006M 4.0K 1006M 1% /var/lock

=================== fdisk -l:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005fa99

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9469 76054528 83 Linux
/dev/sda2 9469 9730 2094081 5 Extended
/dev/sda5 9469 9730 2094080 82 Linux swap / Solaris



=================== Default settings
Recommended-Repair
This setting would restore the [(generic mbr)] MBR in sda, and make it boot on sda1.
Additional repair would be performed: unhide-bootmenu-10s

=================== Settings chosen by the user
Custom-Repair
This setting will restore the [(generic mbr)] MBR in sda, and make it boot on sda1.
Additional repair will be performed: unhide-bootmenu-10s


Will restore the MBR_TO_RESTORE : sda (generic mbr) into sda
dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
0+1 records in
0+1 records out
parted /dev/sda set 1 boot on


Information: You may need to update /etc/fstab.


Boot successfully repaired.

You can now reboot your computer.

pastebinit packages needed
User refused to install pastebinit



Κώδικας: Επιλογή όλων
sudo apt-get install -y boot-repair && boot-repair
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
boot-sav boot-sav-nonfree gawk glade2script-gtk2
Suggested packages:
lvm2 mdadm mbr clean-ubiquity os-uninstaller libnotify
Recommended packages:
pastebinit
The following NEW packages will be installed:
boot-repair boot-sav boot-sav-nonfree gawk glade2script-gtk2
0 upgraded, 5 newly installed, 0 to remove and 356 not upgraded.
Need to get 1,111 kB of archives.
After this operation, 5,034 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ natty/main boot-sav all 3.193-0ppa29~natty [306 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ natty/main gawk i386 1:3.1.7.dfsg-5 [530 kB]
Get:3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ natty/main glade2script-gtk2 all 0.0.1-0ppa4~natty [38.8 kB]
Get:4 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ natty/main boot-repair all 3.193-0ppa15~natty [90.6 kB]
Get:5 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ natty/main boot-sav-nonfree all 3.18-0ppa20~natty [146 kB]
Fetched 1,111 kB in 9s (122 kB/s)
Selecting previously deselected package gawk.
(Reading database ... 136428 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a3.1.7.dfsg-5_i386.deb) ...
Selecting previously deselected package boot-sav.
Unpacking boot-sav (from .../boot-sav_3.193-0ppa29~natty_all.deb) ...
Selecting previously deselected package glade2script-gtk2.
Unpacking glade2script-gtk2 (from .../glade2script-gtk2_0.0.1-0ppa4~natty_all.deb) ...
Selecting previously deselected package boot-repair.
Unpacking boot-repair (from .../boot-repair_3.193-0ppa15~natty_all.deb) ...
Selecting previously deselected package boot-sav-nonfree.
Unpacking boot-sav-nonfree (from .../boot-sav-nonfree_3.18-0ppa20~natty_all.deb) ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-support ...
Setting up gawk (1:3.1.7.dfsg-5) ...
Setting up boot-sav (3.193-0ppa29~natty) ...
Setting up glade2script-gtk2 (0.0.1-0ppa4~natty) ...
Setting up boot-repair (3.193-0ppa15~natty) ...
Setting up boot-sav-nonfree (3.18-0ppa20~natty) ...
/usr/bin/glade2script-gtk2:2233: GtkWarning: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.N7KQLW': No such file or directory
gtk.main()
/usr/bin/glade2script-gtk2:2233: GtkWarning: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
gtk.main()