Jump to content

Debian boot loader (easy fix?)


Recommended Posts

Yes, but you'll need to boot a livecd or the debian cd in rescue mode to be able to recover the bootloader.

 

By default debian uses grub, so you should just need to ensure you know the partition where debian is to then reinstall grub. You can do it simply with:

 

grub-install

 

from the prompt, and if that doesn't work, you'll have to do it manually using grub, but you need to know the partition it's on. For example, if /dev/hda2 or /dev/sda2 then:

 

grub
root (hd0,1)
setup (hd0)

 

will do it. As an example:

 

hd0,1 = /dev/hda2 or /dev/sda2

hd1,1 = /dev/hdb2 or /dev/sdb2

 

the sequence always starts from o, so hd0,0 is /dev/hda1 or /dev/sda1 depending on ide/sata/scsi disks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...