Skip to content

Instantly share code, notes, and snippets.

@vvikramjhu
Created October 2, 2017 01:18
Show Gist options
  • Save vvikramjhu/1e38ae242f2b2cd7a984a231db400eb6 to your computer and use it in GitHub Desktop.
Save vvikramjhu/1e38ae242f2b2cd7a984a231db400eb6 to your computer and use it in GitHub Desktop.
it@it:~$ sudo parted -l
Model: ATA LITEONIT LSS-24L (scsi)
Disk /dev/sda: 24.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 1050MB 1049MB ntfs Basic data partition hidden, diag
2 1050MB 1322MB 273MB fat32 EFI system partition boot, hidden
3 1322MB 2371MB 1049MB fat32 Basic data partition hidden
4 2371MB 2505MB 134MB Microsoft reserved partition msftres
5 2505MB 110GB 107GB ntfs Basic data partition msftdata
7 110GB 164GB 53.7GB ext3
6 164GB 271GB 107GB ext3
17 271GB 288GB 17.2GB linux-swap(v1)
18 288GB 410GB 122GB ntfs msftdata
8 410GB 626GB 216GB ntfs Basic data partition msftdata
9 626GB 842GB 216GB ntfs Basic data partition msftdata
10 842GB 950GB 108GB ntfs Basic data partition msftdata
11 950GB 951GB 472MB ntfs hidden, diag
12 951GB 951GB 367MB ntfs hidden, diag
13 951GB 952GB 367MB ntfs hidden, diag
14 952GB 952GB 367MB ntfs hidden, diag
15 952GB 979GB 26.8GB ntfs Basic data partition msftdata
16 979GB 1000GB 21.5GB ntfs Basic data partition hidden, diag
Model: Lexar USB Flash Drive (scsi)
Disk /dev/sdc: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 16.4kB 32.0GB 32.0GB primary ntfs boot
it@it:~$ sudo mkdir /media/b2
it@it:~$ sudo mount /dev/sdb2 /media/b2
it@it:~$ sudo mkdir /media/b7
it@it:~$ sudo mount /dev/sdb7 /media/b7
it@it:~$ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /media/b7$i; done
it@it:~$ sudo chroot /media/b7
root@it:/# grub-install /dev/sdb
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
root@it:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment