Δημοσιεύτηκε: 07 Δεκ 2010, 15:34
από Thermaikos
Ξαναετρεξα καποιες εντολες και καταφερα και εβγαλα clean το sda1. Aλλα μετα ειχε προβλημα το sda2.
To καθαρισα και αυτο. ΑΛΛά μου βγαζει και στα δυο bad sectors! :shock:

Εκανα παλι το σκριπτ και το αποτελεσμα απο το results.txt
Κώδικας: Επιλογή όλων
Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.

sda1: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda3: _________________________________________________________________________

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

sda4: _________________________________________________________________________

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

sda5: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

=========================== 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 End Size Id System

/dev/sda1 * 2,048 31,250,431 31,248,384 83 Linux
/dev/sda2 31,250,432 70,311,935 39,061,504 83 Linux
/dev/sda3 70,311,936 76,171,263 5,859,328 82 Linux swap / Solaris
/dev/sda4 76,173,310 488,396,799 412,223,490 5 Extended
/dev/sda5 76,173,312 488,396,799 412,223,488 83 Linux


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8 ext4
/dev/sda2 b7904148-b33a-411a-aa36-189d97e41aeb ext4
/dev/sda3 c2ebd8c1-da46-4583-8b30-20edad361d51 swap
/dev/sda4: PTTYPE="dos"
/dev/sda5 91369380-bc1d-4554-b703-569e902d3682 ext3
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/sda1 ext4 (rw)


=========================== sda1/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
set locale_dir=($root)/boot/grub/locale
set lang=el
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=721f9fdb-7e1e-4b55-b10b-0a10ad8648b8 ro quiet splash
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
echo 'Loading Linux 2.6.35-23-generic ...'
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=721f9fdb-7e1e-4b55-b10b-0a10ad8648b8 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=721f9fdb-7e1e-4b55-b10b-0a10ad8648b8 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=721f9fdb-7e1e-4b55-b10b-0a10ad8648b8 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 721f9fdb-7e1e-4b55-b10b-0a10ad8648b8
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda2 during installation
UUID=b7904148-b33a-411a-aa36-189d97e41aeb /home ext4 defaults 0 2
# /media/data was on /dev/sda5 during installation
UUID=91369380-bc1d-4554-b703-569e902d3682 /media/data ext3 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=c2ebd8c1-da46-4583-8b30-20edad361d51 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

=================== sda1: Location of files loaded by Grub: ===================


10.8GB: boot/grub/core.img
13.5GB: boot/grub/grub.cfg
13.3GB: boot/initrd.img-2.6.35-22-generic
13.7GB: boot/initrd.img-2.6.35-23-generic
10.9GB: boot/vmlinuz-2.6.35-22-generic
11.0GB: boot/vmlinuz-2.6.35-23-generic
13.7GB: initrd.img
13.3GB: initrd.img.old
11.0GB: vmlinuz
10.9GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda4

00000000 c2 09 00 04 0d 07 cf d8 00 00 00 00 22 00 00 87 |............"...|
00000010 f8 80 a0 00 77 b6 b7 2e e5 70 d7 ff ee 7e ea 5b |....w....p...~.[|
00000020 ab 6b 75 b8 5d 6c da cb ac a4 2d 30 f7 ff e4 fd |.ku.]l....-0....|
00000030 7a 40 a5 7a 91 f8 bd f7 da 77 ff ff ff ac 2b dc |z@.z.....w....+.|
00000040 4b dd ec 61 1b 78 e1 a1 c5 5d db 58 ad ac 91 ad |K..a.x...].X....|
00000050 67 b1 89 bb 49 59 98 dc 47 4f 14 8e 6c f6 f2 26 |g...IY..GO..l..&|
00000060 cd 4c 4a 35 73 fd eb d6 c9 fc a1 c4 c4 d9 13 bf |.LJ5s...........|
00000070 dd c9 96 3d 39 d1 5b 09 f7 30 ee 09 f1 ad d3 cc |...=9.[..0......|
00000080 3d 0b ad 65 16 70 a9 ed e2 d6 b5 bc 5b 08 9a d6 |=..e.p......[...|
00000090 a9 a3 f2 8b 25 68 b3 19 34 ee e4 4e 22 b1 cd 90 |....%h..4..N"...|
000000a0 cb a4 b7 98 88 c9 42 e9 34 bb ef 5d ac 5b f6 37 |......B.4..].[.7|
000000b0 ad 4f 0f 50 57 fc e4 36 c5 7d cd a9 f4 ea df a6 |.O.PW..6.}......|
000000c0 ab b6 d6 ad 3e a0 a7 d9 6e 1a 76 89 46 9f c0 f5 |....>...n.v.F...|
000000d0 54 aa 76 53 9f b9 8d f4 98 7d 55 b1 e7 26 97 bf |T.vS.....}U..&..|
000000e0 f5 11 3d 35 e2 e5 4a b9 55 a9 21 f4 f4 6e f6 93 |..=5..J.U.!..n..|
000000f0 ab 05 17 e6 8f 5a 5d c4 7c ee bf f5 63 c9 aa 95 |.....Z].|...c...|
00000100 78 0a 9b f5 fa bf de 7a 39 5c 1f 5c 53 ec b2 b5 |x......z9\.\S...|
00000110 8c a4 8f ff e0 f1 a1 d7 d6 30 46 b8 6b 3f 45 eb |.........0F.k?E.|
00000120 51 90 cf 32 c3 ff c1 f7 2f fc 07 ea f7 f7 00 83 |Q..2..../.......|
00000130 04 23 37 db 4d f7 84 eb 62 bd dd ac 30 de e4 69 |.#7.M...b...0..i|
00000140 5b 9b 99 99 97 37 f4 84 49 1f ab 05 02 85 ee 48 |[....7..I......H|
00000150 ee 69 ba 5f 77 36 fb 8b fd c8 c8 b2 6e eb 5e 6d |.i._w6......n.^m|
00000160 3d 26 ce 7b 19 bf bf a6 77 6b 47 88 32 66 82 26 |=&.{....wkG.2f.&|
00000170 76 7e b5 72 ca dc ce 8d 7e f4 94 3e 12 fd 6d df |v~.r....~..>..m.|
00000180 4e 4e 79 54 e1 e2 e5 4a 60 8e fb ee ab 54 46 46 |NNyT...J`....TFF|
00000190 de 66 e2 5c 55 90 10 ee 63 1e a6 68 f6 ab 6f de |.f.\U...c..h..o.|
000001a0 f2 45 97 78 92 5f a3 cc 55 d1 ea bb 76 d2 da 55 |.E.x._..U...v..U|
000001b0 21 ed c6 a7 5c db 43 5e c6 30 b1 bb e4 dd 00 fe |!...\.C^.0......|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 08 92 18 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