Minimal Bash-like line editing is supported
Posted: 2020-08-02 04:48
While installing Debian along with Windows i usually take below route if i want fresh Debian at any point of time:
Open Windows
Open Disk Management
Delete Linux Partitions (usually two : swap about size of RAM and native as you provided = sum of unallocated space left free where you installed linux)
Reboot With bootable Debian disk and install fresh
Though this works fine most of the time but at times the GRUB installer fails to start with error : Minimal Bash-like line editing is supported stops everything and you are stuck.
For above issue i tried and read couple of methods but below worked fine for me with sure shot :
Login windows
Run Diskpart
Type: list disk
Type: select disk 0 (the disk with boot partition usually first in list , please check)
Type: list partition
Type : select partition 2 (usually second partition around 100 mb as type system)
Type: assign letter=x
Now open cmd as admin
Type: x:
Type: Dir
Type: cd EFI
Type: Dir
Type: rd debian /s (delete any linux folders like Ubuntu,Fedora or Debian)
Please note i also tried BootRec /fixmbr and windows repair and windows re-install etc. which did not fixed above issue so in my case above two sets of instructions solved it easily. Hope this helps someone who is gated due to above problem and looking for quick fix.
Open Windows
Open Disk Management
Delete Linux Partitions (usually two : swap about size of RAM and native as you provided = sum of unallocated space left free where you installed linux)
Reboot With bootable Debian disk and install fresh
Though this works fine most of the time but at times the GRUB installer fails to start with error : Minimal Bash-like line editing is supported stops everything and you are stuck.
For above issue i tried and read couple of methods but below worked fine for me with sure shot :
Login windows
Run Diskpart
Type: list disk
Type: select disk 0 (the disk with boot partition usually first in list , please check)
Type: list partition
Type : select partition 2 (usually second partition around 100 mb as type system)
Type: assign letter=x
Now open cmd as admin
Type: x:
Type: Dir
Type: cd EFI
Type: Dir
Type: rd debian /s (delete any linux folders like Ubuntu,Fedora or Debian)
Please note i also tried BootRec /fixmbr and windows repair and windows re-install etc. which did not fixed above issue so in my case above two sets of instructions solved it easily. Hope this helps someone who is gated due to above problem and looking for quick fix.