intel cor duo CPU E7500 2,93GHz x2
Graphics Intel G45/g43 (ELK)
RAM 2Gb
Dual boot Win7/ Ubuntu 18.04 LTS
Μου εμφανίστηκε το παρακάτω περίεργο πρόβλημα το οποίο δεν ξέρω αν κατατάσσεται σε πρόβλημα grub ή του ίδιου του λειτουργικού.
Σε διανομή ubuntu 18.04 (πλήρως ενημερωμένη) με dual boot με win7 ξεκίνησα να μπω στα win7. Επιλέγοντας στον grub τα win7 ξαφνικά ο υπολογιστής σταματά και μου μπαίνει σε κατάσταση grub rescue. Χρησιμοποίησα τις οδηγίες που βρήκα στο
https://linoxide.com/linux-how-to/grub-rescue-commands/
και για την ακρίβεια έτρεξα ένα παλιό live cd της 18.04 για να επιδιορθώσω το grub. Τελικά μετά την επανεκκίνηση μπαίνει κατευθείαν στα win7.
Ξαναέτρεξα σε live cd αυτή τη φορά με την 20.04 (ubuntu πάντα) όπου ακολούθησα την ίδια διαδικασία.
Είχα τα ίδια αποτελέσματα αλλά αυτή τη φορά μου έκανε εξαγωγή σε txt τα παρακάτω
- Κώδικας: Επιλογή όλων
boot-repair-4ppa125 [20201014_2212]
============================= Boot Repair Summary ==============================
Warning: Unable to open /dev/sr1 read-write (Read-only file system). /dev/sr1 has been opened read-only.
sdb may have broken partition table.
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will restore the [(generic mbr)] MBR in sda, and make it boot on sda1.
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix
Quantity of real Windows: 1
============================== Restore MBR of sda ==============================
dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda
Η επιδιόρθωση της εκκίνησης επέτυχε.
Μπορείτε τώρα να επανεκκινήσετε τον υπολογιστή σας.
============================ Boot Info After Repair ============================
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
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: Windows 7
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
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
sdb: ___________________________________________________________________________
File system: ext4
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files:
================================ 3 OS detected =================================
OS#1: Windows 7 (boot) on sda1
OS#2: Windows Recovery Environment (boot) on sda4
OS#3: Windows 7 on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 298.9 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: 0x56670ad5
Boot Start End Sectors Size Id Type
sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
sda2 206848 348368893 348162046 166G 7 HPFS/NTFS/exFAT
sda3 472426494 609142783 136716290 65.2G 5 Extended
sda4 609142784 625139711 15996928 7.6G 7 HPFS/NTFS/exFAT
sda5 550551552 607188991 56637440 27G 83 Linux
sda6 607191040 609142783 1951744 953M 82 Linux swap / Solaris
Partition table entries are not in disk order.
Disk sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xd164c3f7
parted -lm (filtered): _________________________________________________________
sda:320GB:scsi:512:512:msdos:ATA WDC WD3200AAJS-6:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:178GB:178GB:ntfs::;
3:242GB:312GB:70.0GB:::;
5:282GB:311GB:29.0GB:ext4::;
6:311GB:312GB:999MB:linux-swap(v1)::;
4:312GB:320GB:8190MB:ntfs::;
sdb:1000GB:scsi:512:4096:msdos:ATA ST1000DM003-1ER1:;
sr1:2785MB:unknown:2048:2048:mac:Unknown:;
1:2048B:6143B:4096B::Apple:;
2:2569MB:2573MB:4063kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 745842005841C21A 56670ad5-01 SYSTEM
├─sda2 ntfs E4308BD5308BACDC 56670ad5-02 OS
├─sda3 56670ad5-03
├─sda4 ntfs 6014905A1490354E 56670ad5-04 HP_RECOVERY
├─sda5 ext4 f72661dc-c392-4964-baf9-3b86360ad2dc 56670ad5-05
└─sda6 swap 0890d716-4ddc-4fe6-9a7a-ecd50328655a 56670ad5-06
sdb ext4 22cd524c-fa19-46bb-9cb2-15d066aaa510 BIG_BUP
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 75.8M 24% /mnt/boot-sav/sda1
sda2 113.8G 31% /mnt/boot-sav/sda2
sda4 948.1M 88% /mnt/boot-sav/sda4
sda5 2G 87% /media/ubuntu/f72661dc-c392-4964-baf9-3b86360ad2dc
sdb 126.4G 81% /media/ubuntu/BIG_BUP
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,nosuid,nodev,relatime
sdb rw,nosuid,nodev,relatime
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
00000000 33 c0 8e d0 bc 00 7c 8e c0 8e d8 be 00 7c bf 00 |3.....|......|..|
00000010 06 b9 00 02 fc f3 a4 50 68 1c 06 cb fb b9 04 00 |.......Ph.......|
00000020 bd be 07 80 7e 00 00 7c 0b 0f 85 0e 01 83 c5 10 |....~..|........|
00000030 e2 f1 cd 18 88 56 00 55 c6 46 11 05 c6 46 10 00 |.....V.U.F...F..|
00000040 b4 41 bb aa 55 cd 13 5d 72 0f 81 fb 55 aa 75 09 |.A..U..]r...U.u.|
00000050 f7 c1 01 00 74 03 fe 46 10 66 60 80 7e 10 00 74 |....t..F.f`.~..t|
00000060 26 66 68 00 00 00 00 66 ff 76 08 68 00 00 68 00 |&fh....f.v.h..h.|
00000070 7c 68 01 00 68 10 00 b4 42 8a 56 00 8b f4 cd 13 ||h..h...B.V.....|
00000080 9f 83 c4 10 9e eb 14 b8 01 02 bb 00 7c 8a 56 00 |............|.V.|
00000090 8a 76 01 8a 4e 02 8a 6e 03 cd 13 66 61 73 1c fe |.v..N..n...fas..|
000000a0 4e 11 75 0c 80 7e 00 80 0f 84 8a 00 b2 80 eb 84 |N.u..~..........|
000000b0 55 32 e4 8a 56 00 cd 13 5d eb 9e 81 3e fe 7d 55 |U2..V...]...>.}U|
000000c0 aa 75 6e ff 76 00 e8 8d 00 75 17 fa b0 d1 e6 64 |.un.v....u.....d|
000000d0 e8 83 00 b0 df e6 60 e8 7c 00 b0 ff e6 64 e8 75 |......`.|....d.u|
000000e0 00 fb b8 00 bb cd 1a 66 23 c0 75 3b 66 81 fb 54 |.......f#.u;f..T|
000000f0 43 50 41 75 32 81 f9 02 01 72 2c 66 68 07 bb 00 |CPAu2....r,fh...|
00000100 00 66 68 00 02 00 00 66 68 08 00 00 00 66 53 66 |.fh....fh....fSf|
00000110 53 66 55 66 68 00 00 00 00 66 68 00 7c 00 00 66 |SfUfh....fh.|..f|
00000120 61 68 00 00 07 cd 1a 5a 32 f6 ea 00 7c 00 00 cd |ah.....Z2...|...|
00000130 18 a0 b7 07 eb 08 a0 b6 07 eb 03 a0 b5 07 32 e4 |..............2.|
00000140 05 00 07 8b f0 ac 3c 00 74 09 bb 07 00 b4 0e cd |......<.t.......|
00000150 10 eb f2 f4 eb fd 2b c9 e4 64 eb 00 24 02 e0 f8 |......+..d..$...|
00000160 24 02 c3 49 6e 76 61 6c 69 64 20 70 61 72 74 69 |$..Invalid parti|
00000170 74 69 6f 6e 20 74 61 62 6c 65 00 45 72 72 6f 72 |tion table.Error|
00000180 20 6c 6f 61 64 69 6e 67 20 6f 70 65 72 61 74 69 | loading operati|
00000190 6e 67 20 73 79 73 74 65 6d 00 4d 69 73 73 69 6e |ng system.Missin|
000001a0 67 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 |g operating syst|
000001b0 65 6d 00 00 00 63 7b 9a f7 c3 64 d1 00 00 00 00 |em...c{...d.....|
000001c0 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
========= Devices which don't seem to have a corresponding hard drive ==========
sdc sdd sde sdf sdg
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[120410]) leaked on lvs invocation. Parent PID 8766: /bin/bash
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdg: open failed: No medium found
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdg: open failed: No medium found
Με το gparted από την live διανομή ubuntu 20.04 μου δείχνει την κατάτμηση "/ "ως unallocated. Ενώ το μόνο που μου επιτρέπει είναι να το διαγράψω δημιουργώντας μία νέα κατάτμηση.
Παρότι έχω μπει στον πειρασμό να το "διορθώσω" απλά με καινούρια εγκατάσταση/αναβάθμιση στην 20.04 προσπαθώ να καταλάβω τι μπορεί να έχει πάει στραβά και ξαφνικά χάθηκε μία κατάτμηση... έτσι. Άλλωστε παρότι αργεί να φορτώσει το live-cd η 20.04 φαίνεται πολύ πιο ελαφριά από την 18.04. Αλλά πέρα από αυτό, πώς θα μπορούσα να αλλάξω την κατάσταση και να αποκτήσω πρόσβαση χωρίς να ακολουθήσω την κλασσική παραθυρική επίλυση του format.