grub-install

If none of the more specific forums is the right place to ask

grub-install

Postby niculelu » 2018-08-09 10:37

hi,
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 9.3G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda3 8:3 0 4.7G 0 part [SWAP]
├─sda4 8:4 0 5.1G 0 part /home
└─sda5 8:5 0 953M 0 part /boot

what command i must use in order to install grub ?
grub-install /dev/sda or grub-install /dev/sda5?
tnx
niculelu
 
Posts: 2
Joined: 2018-08-08 11:57

Re: grub-install

Postby Head_on_a_Stick » 2018-08-09 11:12

niculelu wrote:grub-install /dev/sda

^ This.

IIRC GRUB will refuse and print a warning if you try the other ;)
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8316
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable
cron