View previous topic :: View next topic |
Author |
Message |
matart n00b
Joined: 30 Mar 2015 Posts: 5
|
Posted: Thu Aug 13, 2015 5:15 pm Post subject: Unable to boot after accidental grub2-install |
|
|
Hello,
I was having trouble entering my bios originally so I cleared the CMOS. I had trouble getting into the system but the grub menu appeared so I assumed that my grub config was to blame. I decided to rebuild it using the command:
Code: | grub2-mkconfig -o /boot/grub/grub.cfg |
What I accidentally did was run:
Code: | grub2-install /dev/sdb |
This is the right dev. I have a smaller harddrive for backups as sda.
My partition list is:
Code: | $ fdisk -l
Disk /dev/loop0: 181.7 MiB, 190513152 bytes, 372096 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: 1.8 TiB, 2000398934016 bytes, 3907029168 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: gpt
Disk identifier: 84E775F8-2785-41CD-9965-B14D0D792866
Device Start End Sectors Size Type
/dev/sda1 2048 3907027119 3907025072 1.8T Microsoft basic data
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C9108AA6-DE56-43BE-AD64-0D033D25F771
Device Start End Sectors Size Type
/dev/sdb1 2048 6143 4096 2M BIOS boot
/dev/sdb2 6144 7814035119 7814028976 3.7T EFI System
Disk /dev/sdh: 7.3 GiB, 7803174912 bytes, 15240576 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: 0x000bab4d
Device Boot Start End Sectors Size Id Type
/dev/sdh1 * 2048 15239167 15237120 7.3G b W95 FAT32
|
Now when my system gets to grub it jumps right to the console and I do not see the grub menu at all.
things I have tried:
- rebuilding kernel
- reinstalling grub
- remaking the grub.cfg
Has anyone had some similar issue? or any idea how to solve this?
Please let me know if any information is needed. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Thu Aug 13, 2015 6:06 pm Post subject: |
|
|
you could utilize the grub2 command line, which is build in and boot your setup. assuming you have a glue how your box was set up.
i assume you jst need to chainload your /boot partition and thats it... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|