Timeline for How to install GRUB on a new drive?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 19, 2015 at 14:38 | comment | added | gogoud | ok glad you got it solved, that is old grub not the newer 'shiny' grub2. I didn't realise RedHat was so slow to move to grub2. CentOS 7 uses grub2 but CentOS 6 (and earlier) uses grub. | |
| Mar 19, 2015 at 14:36 | vote | accept | Renjith | ||
| Mar 19, 2015 at 14:34 | comment | added | Renjith | The grub right now I am using 0.97, which doesn't support --skip-fs-probe. but without that it worked. sdb1 was the mistake. | |
| Mar 19, 2015 at 14:29 | history | edited | gogoud | CC BY-SA 3.0 |
added 14 characters in body; added 282 characters in body
|
| Mar 19, 2015 at 14:24 | history | edited | gogoud | CC BY-SA 3.0 |
added 14 characters in body; added 282 characters in body
|
| Mar 19, 2015 at 14:20 | comment | added | gogoud |
@Renjith oh and the root-directory should refer to the mounted mountpoint when you run grub-install, so you need to mount the partition on the new drive e.g. at /mnt/sys2 and then in your grub-install line specify --root-directory=/mnt/sys2. It's counter-intuitive (like a lot of grub stuff I think) but it's how it works.
|
|
| Mar 19, 2015 at 14:04 | comment | added | Renjith |
My first attempt was without partitioning and formating grub-install /dev/sdb but it gave error. Later I tried with partitioned and formatted disk, with formatted disk I was always using /dev/sdb1, I will attempt along --skip-fs-probe
|
|
| Mar 19, 2015 at 13:53 | history | edited | gogoud | CC BY-SA 3.0 |
added 2 characters in body
|
| Mar 19, 2015 at 13:48 | history | answered | gogoud | CC BY-SA 3.0 |