Hallo allerseits,
auf meinem System befinden sich Kubuntu und Windows im Dualboot auf einer Festplatte.
Ich wollte neulich Kubuntu auf einen USB-Stick installieren. Leider hatte ich mir dabei den Grub auf meinem PC zerschossen (Es erschien nur noch: Minimal BASH like line editing is supported...). Danach habe ich dann relativ frustriert und hirnlos einige Befehle durchs Terminal gejagt.....
Mittlerweile sieht der IST-Zustand so aus: Grub lädt wieder normal, ich kann Kubuntu starten. Allerdings fehlt Windows 10 als Eintrag. Windows lässt sich jedoch (wie Kubuntu auch) übers Setup (F7 bei mir) anwählen und startet auch ganz normal.
SOLL-Zustand: Einträge von Kubuntu UND Windows im Grub.
Da ich ja beide OS starten kann ist mein Anliegen in keinster Weise dringend, auch "Operationen am offenen Herzen" würde ich eher vermeiden wollen. Falls trotzdem jemand Langeweile hat und mal über die unten geposteten Ausgaben kucken möchte, wäre ich sehr dankbar.
Hier ein paar Ausgaben die hoffentlich hilfreich sein könnten:
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
sudo dmidecode -t1
Getting SMBIOS data from sysfs. SMBIOS 3.2.0 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: TUXEDO Product Name: TUXEDO Polaris 15 AMD Gen1 Version: Standard Serial Number: #entfernt UUID: 59d0820e-296b-11eb-84f0-daed59862100 Wake-up Type: Power Switch SKU Number: POLARIS1501A2060 Family: TUXEDO Computers
efibootmgr -v
BootCurrent: 0004 Timeout: 1 seconds BootOrder: 0004,0000,000B,000C,0001,0002,0003 Boot0000* Windows Boot Manager HD(1,GPT,40192eae-1403-46a4-ab14-66f190624583,0x800,0x2ee000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...c................ Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0) Boot0002* UEFI:Removable Device BBS(130,,0x0) Boot0003* UEFI:Network Device BBS(131,,0x0) Boot0004* ubuntu HD(1,GPT,40192eae-1403-46a4-ab14-66f190624583,0x800,0x2ee000)/File(\EFI\UBUNTU\SHIMX64.EFI) Boot000B* UEFI: PXE IPv4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/MAC(b025aa3e100d,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO Boot000C* UEFI: PXE IPv6 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/MAC(b025aa3e100d,0)/IPv6([::]:<->[::]:,0,0)..BO
sudo parted -l
Modell: Samsung SSD 970 EVO Plus 500GB (nvme) Festplatte /dev/nvme0n1: 500GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: gpt Disk-Flags: Nummer Anfang Ende Größe Dateisystem Name Flags 1 1049kB 1574MB 1573MB fat32 EFI system partition bios_grub 2 1574MB 3671MB 2097MB Microsoft reserved partition msftres 3 3671MB 252GB 248GB ntfs Basic data partition msftdata 4 252GB 254GB 2097MB ntfs Basic data partition diag 5 254GB 262GB 8000MB linux-swap(v1) swap 6 262GB 500GB 238GB ext4
sudo fdisk -l
#loop0 bis loop06 hab ich mal weggelassen Festplatte /dev/nvme0n1: 465,76 GiB, 500107862016 Bytes, 976773168 Sektoren Festplattenmodell: Samsung SSD 970 EVO Plus 500GB Einheiten: Sektoren von 1 * 512 = 512 Bytes Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes Festplattenbezeichnungstyp: gpt Festplattenbezeichner: 17CE6DA2-D683-4D48-B5FC-95F762364727 Gerät Anfang Ende Sektoren Größe Typ /dev/nvme0n1p1 2048 3074047 3072000 1,5G BIOS boot /dev/nvme0n1p2 3074048 7170047 4096000 2G Microsoft reserviert /dev/nvme0n1p3 7170048 491970559 484800512 231,2G Microsoft Basisdaten /dev/nvme0n1p4 491970560 496066559 4096000 2G Windows-Wiederherstellungsumgebung /dev/nvme0n1p5 496066560 511690751 15624192 7,5G Linux Swap /dev/nvme0n1p6 511690752 976771071 465080320 221,8G Linux-Dateisystem
blkid
blkid /dev/nvme0n1p5: UUID="bb53c623-2a1d-45ff-8e22-1856ef6ca266" TYPE="swap" PARTUUID="ab4cf1fd-d70f-4981-8de7-2b3be14c7a17" /dev/nvme0n1p6: UUID="7fe6aa5d-6b6b-4b48-bf24-1a7dc638dd1f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ab3cff5b-470a-4e82-b682-6f6ca9f90110"
sudo cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=menu GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf tmpfs 3,1G 1,7M 3,1G 1% /run /dev/nvme0n1p6 218G 16G 191G 8% / tmpfs 16G 24M 16G 1% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 4,0M 0 4,0M 0% /sys/fs/cgroup /dev/nvme0n1p1 1,5G 34M 1,5G 3% /boot/efi tmpfs 3,1G 96K 3,1G 1% /run/user/1000 /dev/nvme0n1p3 232G 182G 50G 79% /media/bj/Windows
Ich hoffe die Infos sind hilfreich und nicht redundant. Leider habe ich, wie man wohl sieht wenig bis keine Ahnung, aber kann es sein, dass ich irgendwie Bios-grub in die EFI-Partition gewurschtelt habe und daher der Stress kommt?
Danke schon mal für das ein oder andere Auge, das sich mal die Ausgaben ansieht.