Δημοσιεύτηκε: 01 Ιαν 2018, 15:49
- Κώδικας: Επιλογή όλων
mint@mint ~ $ sudo fdisk -l
Disk /dev/loop0: 1.7 GiB, 1837953024 bytes, 3589752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000c31f7
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 102402047 102400000 48.8G 7 HPFS/NTFS/exFAT
/dev/sda2 102402048 163842047 61440000 29.3G 83 Linux
/dev/sda3 163842048 172034047 8192000 3.9G 82 Linux swap / Solaris
/dev/sda4 172034048 312580095 140546048 67G 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 3.8 GiB, 4042260480 bytes, 7895040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3ef4e69c
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3676159 3676160 1.8G 17 Hidden HPFS/NTFS
mint@mint ~ $ sudo mount /dev/sda2 /mnt
: command not found
mint@mint ~ $ sudo mount --bind /dev /mnt/dev
: command not found
mint@mint ~ $ sudo mount --bind /dev/pts /mnt/dev/pts
: command not found
mint@mint ~ $ sudo mount --bind /proc /mnt/proc
: command not found
mint@mint ~ $ sudo mount --bind /sys /mnt/sys
: command not found
mint@mint ~ $ sudo chroot /mnt
: command not found
mint@mint ~ $ update-initramfs -u -k 4.10.0-38-generic
update-initramfs is disabled since running on read-only media
mint@mint ~ $ update-grub2
grub-mkconfig: You must run this as root
mint@mint ~ $