grub grub grub

3 respostas [Última entrada]
zangisharp
Desconectado
Joined: 01/08/2019

Hello guys,

I have a problem booting my system. I have 2 disks hdd and an ssd before the big band :D, I had Trisquel installed in the ssd and the hdd for storage.
I wanted to make a new install of the system and accidentally installed Trisquel in my hdd, so I did make a new install in my ssd and deleted the hdd.
Now I have a problem booting Trisquel automatically,I can do it manually by entering the BIOS setup and manually selecting the ssd to boot from, or in grub rescue I type this:

set prefix=(hd1,1)/boot/grub
set root=(hd1,1)
insmod normal
normal

How can fix this?

Thanks

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010
zangisharp
Desconectado
Joined: 01/08/2019

I tried updating grub but its not working.
When I check grub.cfg I noticed that he is pointing to the wrong disk (hd2,msdos1)
I tried to manually replace hd2 to hd1 but still not working.

here is the fdisk command (I have only 1 bootable disk (sdc)):

Disk /dev/sda: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0x6b4d0aba

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 488396799 488394752 232,9G 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 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: dos
Disk identifier: 0x97b9401e

Disk /dev/sdc: 223,6 GiB, 240057409536 bytes, 468862128 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: 0xd81211f5

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 466862079 466860032 222,6G 83 Linux
/dev/sdc2 466864126 468860927 1996802 975M 5 Extended
/dev/sdc5 466864128 468860927 1996800 975M 82 Linux swap / Solaris

zangisharp
Desconectado
Joined: 01/08/2019

The solution was easy I just changed the boot order of my disks...