LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   linux /boot not booting from bootstrap (http://www.linuxquestions.org/questions/linux-general-1/linux-boot-not-booting-from-bootstrap-706447/)

texasone 02-21-2009 12:10 PM

linux /boot not booting from bootstrap
 
ok, so I have debian installed on part of my machine. (grub is installed to /boot instead of mbr because I wanted bootstrap at the time) Then I installed freebsd and used bootstrap, which I find to be nice, and everything was going well. then I installed solaris on the remaining space. Then when I booted up, bootstrap wouldn't let me boot to linux's /boot partition so I am no longer able to boot into linux. I have removed solaris from my system but I still can't boot to linux.

What should I do about this. I need the stuff on that linux install. should I install some os like ubuntu or another debian on the space where solaris was and have it install grub to mbr and see if that works, or is there some way to manually edit bootstrap so that I can edit it to boot the linux /boot partition. all and any help welcome.

thanks in advance
kyle



ps. if in the wrong forum section, please move.

Drakeo 02-22-2009 07:13 AM

super grub if you posted your /boot/grub/menu.1st that could help. other wise super grub this is my grub
Quote:

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Thu Dec 18 12:38:49 2008
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.4016'. You can restore it like this.
# dd if=mbr.hda.4016 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
splash image=(hd0,0)/grub/splash.xpm
#timeout 30
#color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Linux on (/dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title 2.6.26.8.tex3 hda2
kernel (hd0,1)/boot/vmlinuz-2.6.26.8.tex3 BOOT_IMAGE=2.6.26.8.tex3 root=/dev/hda2 ro
initrd (hd0,1)/boot/initrd-2.6.26.8.tex3.img
# Linux bootable partition config ends
# Linux bootable partition config begins
title 2.6.26.8.tex3 hda2
kernel (hd1,0)/boot/vmlinuz-2.6.26.8.tex3 BOOT_IMAGE=2.6.26.8.tex3 root=/dev/hdb1 ro
initrd (hd1,0)/boot/initrd-2.6.26.8.tex3.img
# Linux bootable partition config ends

title Linux Mint 6, kernel 2.6.27-11-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sdc1 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet

title Linux Mint 6, kernel 2.6.27-11-generic (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sdc1 ro single
initrd /boot/initrd.img-2.6.27-11-generic

title Linux Mint 6, kernel 2.6.27-7-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sdc1 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Linux Mint 6, kernel 2.6.27-7-generic (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sdc1 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Linux Mint 6, memtest86+
root (hd2,0)
kernel /boot/memtest86+.bin
quiet
# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)
title puppy (/dev/hda1)
root (hd0,0)
kernel /pup412/vmlinuz
initrd /pup412/initrd.gz

CJS 02-22-2009 12:10 PM

In order to get a clearer picture of your setup related to your booting problem, how about downloading the Boot Info Script to a Live CD desktop, and then do the following as root user, but replace <username> with your user name:
Code:

bash /home/<username>/Desktop/boot_info_script*.sh
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of the RESULTS.txt file to your next post. That will help clarify your setup and hopefully what the solution to your problem might be.


All times are GMT -5. The time now is 04:07 AM.