Thread: grub bootloading problems
hi, first post in forum have been reading quite awhile.. here situation.. have ubuntu netbook remix 10.10 installed netbook harddrive.. installing debian squeeze usb drive , when asked installing grub said yes accident..it installed grub , cannot logon ubuntu.. not have live cd...
questions:
how remove grub menu , boot directly ubuntu on harddrive?
how make usb drive debian installed bootable?
support
welcome forums.
think need install debian's grub boot loader usb drive's mbr , install ubuntu's grub2 boot loader mbr internal drive.
not debian use grub2? include os-prober? might try installing if not (do not know sure) , see if finds ubuntu.
sudo update-grub
reinstall grub debian sdb.
think should same debian not positive:
#reinstall working (not livecd) system - first find external drive:
sudo fdisk -l
#if it's "/dev/sdb" run:
sudo grub-install /dev/sdb
#if returns errors run:
sudo grub-install --recheck /dev/sdb
sudo update-grub
#to grub remember reinstall on updates:
sudo dpkg-reconfigure grub-pc
#enter thru first pages,spacebar choose/unchoose drive, enter accept, not choose partitions
#to see drive grub2 uses see line - grub-pc/install_devices:
sudo debconf-show grub-pc
if cannot debian find ubuntu can reinstall livecd or liveusb. should use same version of ubuntu have installed.
#comments after #, enter commands in terminal session
#install mbr livecd, ubuntu install on sda5 , want grub2's bootloader in drive sda's mbr:
#find linux partition, change sda5 if not correct:
sudo fdisk -l
#confirm linux sda5
sudo mount /dev/sda5 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda
#if grub 1.99 natty uses boot not root
sudo grub-install --boot-directory=/mnt/ /dev/sda
#if returns errors run:
sudo grub-install --recheck --root-directory=/mnt/ /dev/sda
# if no errors on previous commands reboot working system , run this:
sudo update-grub
there ways manually boot if can boot grub menu in 1 use grub's command line specify system.
manual boot:
grub rescue:
ls # see (hd0), (hd0,1) ? if so, run next command. if see (hd0,5), use instead of (hd0,1) in next command.
configfile (hd0,1)/boot/grub/grub.cfg
howto: boot & install ubuntu grub rescue prompt
http://ubuntuforums.org/showthread.php?t=1599293
reinstall grub2 - short version & full chroot version
https://help.ubuntu.com/community/gr...alling%20grub2
grub2 info & full chroot version - see method 3 - chroot:
https://wiki.ubuntu.com/grub2#recove...20via%20livecd
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help grub bootloading problems
Ubuntu
Comments
Post a Comment