Kod: Zaznacz cały
sudo mkdir /mnt/root
sudo mount -t ext4 /dev/sdb1 /mnt/root
sudo mount -t proc none mnt/root/proc
sudo mount -o bind /dev /mnt/root/dev
sudo chroot /mnt/root /bin/bash
grub
Kod: Zaznacz cały
find /boot/grub/stage1
Dorzucam jeszcze rozkład partycji:
Kod: Zaznacz cały
Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x32e36664
Device Boot Start End Blocks Id System
/dev/sda1 2 1305 10474380 f W95 Ext'd (LBA)
/dev/sda2 * 1306 4870 28635862+ 7 HPFS/NTFS
/dev/sda5 2 1305 10474348+ 7 HPFS/NTFS
Disk /dev/sdb: 46.1 GB, 46115758080 bytes
255 heads, 63 sectors/track, 5606 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00097871
Device Boot Start End Blocks Id System
/dev/sdb1 1 2490 19998720 83 Linux
/dev/sdb2 2490 2615 999425 5 Extended
/dev/sdb3 2616 5606 24025207+ 83 Linux
/dev/sdb5 2490 2615 999424 82 Linux swap / Solaris
Disk /dev/sdc: 20.4 GB, 20485785600 bytes
255 heads, 63 sectors/track, 2490 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x08e108e0
Device Boot Start End Blocks Id System
/dev/sdc1 1 2489 19992861 7 HPFS/NTFS