Δημοσιεύτηκε: 11 Ιούλ 2012, 13:45
από gdell
Γειά σας παιδιά, καλώς σας βρήκα.

Ελπίζω να μπορέσει κάποιος να βοηθήσει.
Αντιμετωπίζω ενα πρόβλημα με το pc της υπογραφής.

Μετά απο κάποιο update που εκανε το Ubuntu, δεν κάνει boot.

Συγκεκριμένα, σε κάθε επιλογή του grub menu βγάζει το εξής μήνυμα:
Κώδικας: Επιλογή όλων
error: no such partition.
error: no such partition.
error: no such partition.

Press any key to continue...


Το PC έχει 4 ίδιους δίσκους:
στον 1ο είναι τα windows
στον 2ο είναι απλώς κάποια data
ο 3ος και ο 4ος είναι σε raid1 (VOLUME_0) και έχουν το linux.

Έτρεξα το boot-repair απο το Super GRUB disk και ειδού το αποτέλεσμα:
Κώδικας: Επιλογή όλων
Boot Info Script 0.61-git Boot-Repair log      [4 July 2012]


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

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

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: 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 Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

md/imsm0: ______________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info:
    Mounting failed:   mount: unknown filesystem type ''

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2    *        206,848 1,953,521,663 1,953,314,816   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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                  63 1,953,520,064 1,953,520,002   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        64A88F93A88F6282                       ntfs       System Reserved
/dev/sda2        0026915A26915190                       ntfs       
/dev/sdb1        7A609C32765AE539                       ntfs       Data
/dev/sdc                                                isw_raid_member
/dev/sdd                                                isw_raid_member

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

Device           Mount_Point              Type       Options

/dev/sr1         /live/image              iso9660    (ro,noatime)


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

Unknown BootLoader on md/imsm0



=============================== StdErr Messages: ===============================

File descriptor 7 (pipe:[8243]) leaked on lvscan invocation. Parent PID 9916: bash
File descriptor 8 (pipe:[8243]) leaked on lvscan invocation. Parent PID 9916: bash
  No volume groups found
mdadm: No arrays found in config file or automatically

ADDITIONAL INFORMATION :
=================== log of boot-repair 2012-07-09__10h57 ===================
boot-repair version : 3.18-0ppa39~lucid
boot-sav version : 3.191-0ppa2~lucid
glade2script-gtk2 version : 0.0.1-0ppa4~lucid
boot-sav-nonfree version : 3.18-0ppa14~lucid
boot-repair updated

BLKID BEFORE RAID ACTIVATION:
/dev/sda1: LABEL="System Reserved" UUID="64A88F93A88F6282" TYPE="ntfs"
/dev/sda2: UUID="0026915A26915190" TYPE="ntfs"
/dev/sdb1: LABEL="Data" UUID="7A609C32765AE539" TYPE="ntfs"
/dev/sdc: TYPE="isw_raid_member"
/dev/loop0: TYPE="squashfs"
/dev/sdd: TYPE="isw_raid_member"
dmraid -si -c: isw_cdjacjeebj_VOLUME_0
dmraid -ay:
RAID set "isw_cdjacjeebj_VOLUME_0" was not activated
dmraid -sa -c:
[dmraid] packages may interfer with MDraid. Do you want to remove them? yes
apt-get remove -y --force-yes dmraid
The following package was automatically installed and is no longer required:
libdmraid1.0.0.rc16
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
dmraid
0 upgraded, 0 newly installed, 1 to remove and 48 not upgraded.
(Reading database ... 43315 files and directories currently installed.)
Removing dmraid ...
I: update-initramfs is disabled (live system is running on read-only media).
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Scanning MDraid Partitions
mdadm: No arrays found in config file or automatically
mdadm --detail --scan: ARRAY /dev/md/imsm0 metadata=imsm UUID=c63ed2c0:572532e8:3e04e478:2d473688
[dmraid] packages may interfer with MDraid. Do you want to remove them? yes
apt-get remove -y --force-yes dmraid
Package dmraid is not installed, so not removed
The following package was automatically installed and is no longer required:
libdmraid1.0.0.rc16
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
File descriptor 7 (pipe:[8243]) leaked on lvs invocation. Parent PID 5140: /bin/sh
File descriptor 8 (pipe:[8243]) leaked on lvs invocation. Parent PID 5140: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 02.07.2012 , squeeze , Debian , x86_64)
CPU op-mode(s):        32-bit, 64-bit
sdc (sda) has unknown type. Please report this message to yannubuntu@gmail.com
sdd (sda) has unknown type. Please report this message to yannubuntu@gmail.com

=================== os-prober:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain

=================== blkid:
/dev/sda1: LABEL="System Reserved" UUID="64A88F93A88F6282" TYPE="ntfs"
/dev/sda2: UUID="0026915A26915190" TYPE="ntfs"
/dev/sdb1: LABEL="Data" UUID="7A609C32765AE539" TYPE="ntfs"
/dev/sdc: TYPE="isw_raid_member"
/dev/loop0: TYPE="squashfs"
/dev/sdd: TYPE="isw_raid_member"


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


=================== 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,   bootmgr,   no-grldr,   Boot/BCD,   nopakmgr,   nogrubinstall,   no---usr,   part-has-no-fstab,   not-sep-usr,   /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,   haswinload,   no-recov-nor-hid,   bootmgr,   no-grldr,   Boot/BCD,   nopakmgr,   nogrubinstall,   no---usr,   part-has-no-fstab,   not-sep-usr,   /mnt/boot-sav/sda2.
sdb1   : sdb,   not-sepboot,   no-grubenv   nogrub,   no-docgrub,   no-update-grub,   32,   no-boot,   no-os,   not--efi--part,   part-has-no-fstab,   part-has-no-fstab,   no-nt,   no-winload,   no-recov-nor-hid,   no-bmgr,   no-grldr,   no-b-bcd,   nopakmgr,   nogrubinstall,   no---usr,   part-has-no-fstab,   not-sep-usr,   /mnt/boot-sav/sdb1.

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

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

Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      1049kB  106MB   105MB   primary  ntfs
2      106MB   1000GB  1000GB  primary  ntfs         boot


Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      32.3kB  1000GB  1000GB  primary  ntfs


Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

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


Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sdd: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

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



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

                                                                         
Error: /dev/sr1: unrecognised disk label


=================== mount:
aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sr1 on /live/image type iso9660 (ro,noatime)
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,allow_other,blksize=4096)


/sys/block/md127:  alignment_offset bdi capability dev ext_range holders inflight md power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
/sys/block/sdb:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sdc:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdd:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr0:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr1:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev:  block bsg btrfs-control bus cdrom cdrom1 cdrw cdrw1 char console core cpu_dma_latency disk dvd dvd1 dvdrw dvdrw1 fd full fuse hidraw0 hpet initctl input kmsg log MAKEDEV mcelog md md127 mem net network_latency network_throughput null port ppp psaux ptmx pts random rtc rtc0 scd0 scd1 sda sda1 sda2 sdb sdb1 sdc sdd sg0 sg1 sg2 sg3 sg4 sg5 shm snapshot snd sndstat sr0 sr1 stderr stdin stdout urandom v4l vbi0 vga_arbiter video0 xconsole zero
/mnt/boot-sav/sda2:  Boot bootmgr boot-sav Config.Msi csb.log Documents and Settings hiberfil.sys Install.log Intel NVIDIA pagefile.sys PerfLogs ProgramData Program Files Program Files (x86) Recovery $Recycle.Bin RHDSetup.log System Volume Information Users Windows

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

Filesystem    Type    Size  Used Avail Use% Mounted on
aufs          aufs    4.0G   57M  3.9G   2% /
tmpfs        tmpfs    4.0G     0  4.0G   0% /lib/init/rw
udev         tmpfs    3.9G  200K  3.9G   1% /dev
tmpfs        tmpfs    4.0G     0  4.0G   0% /dev/shm
/dev/sr1   iso9660    346M  346M     0 100% /live/image
tmpfs        tmpfs    4.0G   57M  3.9G   2% /live/cow
tmpfs        tmpfs    4.0G     0  4.0G   0% /live
tmpfs        tmpfs    4.0G  8.0K  4.0G   1% /tmp
/dev/sda1  fuseblk    100M   25M   76M  25% /mnt/boot-sav/sda1
/dev/sda2  fuseblk    932G   43G  890G   5% /mnt/boot-sav/sda2
/dev/sdb1  fuseblk    932G  115M  932G   1% /mnt/boot-sav/sdb1

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

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x7ce541fa

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   *          13      121602   976657408    7  HPFS/NTFS

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x0005c85b

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121601   976760001    7  HPFS/NTFS

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x00073fb4

Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1      121176   973340672   83  Linux
/dev/sdc2          121176      121601     3417089    5  Extended
/dev/sdc5          121176      121601     3417088   82  Linux swap / Solaris

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x00073fb4

Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1      121176   973340672   83  Linux
/dev/sdd2          121176      121601     3417089    5  Extended
/dev/sdd5          121176      121601     3417088   82  Linux swap / Solaris



=================== Recommended repair
recommendedrepair
This setting will restore the [(generic mbr)] MBR in sda, and make it boot on sda2.
Additional repair will be performed: unhide-bootmenu


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 2 boot on

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


Boot successfully repaired.

You can now reboot your computer.

paste.debian ko, using paste.ubuntu


Το αποτέλεσμα του fdisk -l μέσα απο live cd είναι το εξής:

Κώδικας: Επιλογή όλων
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x7ce541fa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   *          13      121602   976657408    7  HPFS/NTFS

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x0005c85b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121601   976760001    7  HPFS/NTFS

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x00073fb4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1      121176   973340672   83  Linux
/dev/sdc2          121176      121601     3417089    5  Extended
/dev/sdc5          121176      121601     3417088   82  Linux swap / Solaris

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0x00073fb4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1      121176   973340672   83  Linux
/dev/sdd2          121176      121601     3417089    5  Extended
/dev/sdd5          121176      121601     3417088   82  Linux swap / Solaris

Disk /dev/dm-0: 1000.2 GB, 1000202178560 bytes
255 heads, 63 sectors/track, 121600 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: 0x00073fb4

     Device Boot      Start         End      Blocks   Id  System
/dev/dm-0p1   *           1      121176   973340672   83  Linux
/dev/dm-0p2          121176      121601     3417089    5  Extended
/dev/dm-0p5          121176      121601     3417088   82  Linux swap / Solaris

Disk /dev/dm-2: 996.7 GB, 996700848128 bytes
255 heads, 63 sectors/track, 121175 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: 0x00000000

     Device Boot      Start         End      Blocks   Id  System

Disk /dev/dm-3: 3499 MB, 3499098112 bytes
255 heads, 63 sectors/track, 425 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: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table
ubuntu@ubuntu:~$


Υ.Γ. primary boot device στο bios είναι το raid
αν αλλάξω στον 1ο δίσκο, τα windows ξεκινάνε (χωρίς το μενού του grub, βέβαια)