ubuntu@ubuntu:~$ sudo parted --list Model: Generic Flash Disk (scsi) Disk /dev/sda: 2097MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 16.4kB 2097MB 2097MB primary fat32 boot Model: ATA ST500LM012 HN-M5 (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 106MB 105MB primary ntfs boot 2 106MB 105GB 105GB primary ntfs 3 105GB 500GB 395GB extended 7 105GB 105GB 98.6MB logical ext4 8 105GB 165GB 59.9GB logical ext4 6 165GB 496GB 331GB logical ntfs 5 496GB 500GB 4095MB logical linux-swap(v1) ubuntu@ubuntu:~$ sudo mount /dev/sdb8 /mnt ubuntu@ubuntu:~$ sudo mount -o bind /dev /mnt/dev ubuntu@ubuntu:~$ sudo mount -o bind /sys /mnt/sys ubuntu@ubuntu:~$ sudo mount -t proc /proc /mnt/proc ubuntu@ubuntu:~$ sudo cp /proc/mounts /mnt/etc/mtab cp: '/proc/mounts' and '/mnt/etc/mtab' are the same file ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash root@ubuntu:/# grub-install /dev/sda Installing for i386-pc platform. grub-install: warning: your embedding area is unusually small. core.img won't fit in it.. grub-install: error: embedding is not possible, but this is required for cross-disk install. root@ubuntu:/# update-grub Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found Windows 10 (loader) on /dev/sdb1 done
Frage 1: Warum steht bei Flags bei sdb 7 welche meine Bootpartition ist kein Boot obwohl ich bei der Partitionierung /Boot ausgewählt habe. bei sdb1 (der Windows Bootpartition steht boot bei flag) Frage 2: wieso
sudo mount /dev/sdb8 /mnt
sdb8 ist die partition auf der ubuntu ist, die bootpartition ist aber sdb7 Frage 3:wieso
grub-install /dev/sda
die grub dateien sind doch auf sdb7
Besten dank euch allen im voraus ihr seit die besten