help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advise on how to debug screen with only GRUB and blinking cursor and


From: Goh Lip
Subject: Re: Advise on how to debug screen with only GRUB and blinking cursor and possibly save my dualboot installation
Date: Tue, 20 Dec 2022 00:53:47 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0



On 12/19/22 22:20, Sophoklis Goumas wrote:


This setup, as unconventional/wrong as it is, WAS working flawlessly


Sophoklis




Boot into Debian whichever way (you used super-grub2-disk)

*important* Check that Debian is in sda or sdb (findmnt /)


sudo grub-install --target=i386-pc --boot-directory=/boot /dev/sda --recheck --debug Use '/dev/sdb' in above command if findmnt tells you your disk is sdb instead of sda
sudo update-grub


If in the event (possible) there is no windows entry or windows does not boot, add a Windows entry to /boot/grub/custom.cfg (you may have to create this file first)



menuentry  "Windows - Custom "  {
  insmod part_msdos
  insmod ntfs
  set root='hd0,msdos1'
  search --no-floppy --fs-uuid --set=035E850A2759A4E0
  ntldr /bootmgr
}


above long string is UUID for your windows partition (use yours of course)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]