Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-06-2004, 05:55 PM
|
#1
|
Member
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168
Rep:
|
Boot up with a black screen and the word 'GRUB' followed by blinking cusor
Desired situation
----------------------
To dual boot Win2K and Debian, using Win2K's boot.ini as the first OS loader, i.e. Upon bootup, boot.ini will display a menu that allows you to choose to boot either Win2K or Debian. Choosing Debian will load the Grub GUI menu, that displays the various versions of Kernel, from which you can boot from (assuming you have more than one version of kernel installed).
My partition layout
------------------------
/dev/hdb1 /
/dev/hdb5 swap
/dev/hdb6 /home
What has been done
---------------------------
- Install GRUB using apt-get install grub
- Run grub
- At grub prompt: find /boot/grub/stage1, of which returns (hd1,0)
- do a 'root (hd1,0)'
- do a 'setup (hd1,0)'
- mount floppy to /mnt
- dd if=/dev/hdb1 of=/mnt/sarge.lnx bs=512 count=1
- umount /mnt
- reboot and copy sarge.lnx into window's C:/
- edit Win2K's boot.ini to include c:\sarge.lnx="Debian"
- reboot
Problem: After choosing Debian from the boot menu displayed by
Win2K's boot.ini, I get a black screen with the word GRUB and a blinking cursor at the top left hand corner of the screen.
Any advice please?
Thanks !
Last edited by davidas; 05-06-2004 at 05:57 PM.
|
|
|
05-06-2004, 08:05 PM
|
#2
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
you could use grub as boot loader and restore your old boot.ini
|
|
|
05-10-2004, 02:15 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168
Original Poster
Rep:
|
How do I use grub as boot loader and restore old boot.ini?
Thanks !
Quote:
Originally posted by mrcheeks
you could use grub as boot loader and restore your old boot.ini
|
|
|
|
05-10-2004, 07:31 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Location: Earth
Distribution: Debian GNU/Linux
Posts: 7
Rep:
|
GRUB grubbing with my boot.ini
I too would be interested.
Been having a heck of a time trying to get Sarge installed via Beta4 netinst.
Install seems to go fine, but can never boot into it.
Like the original poster I have Win2K on /hda and Debian on /hdb.
Tried LILO on /dev/hdb1 and copied the boot sect. to a file. Selecting that option from NTLDR, flashes back to the Win2K menu option.
Tried LILO on /dev/hda1 (works like a charm with Slackware), gives me L 99 99 9 99 99 99 99 99 99 .....
Tried GRUB on floppy, boots to GRUB, in other words it just shows the word GRUB and a flashing cursor (then nothing).
Tried GRUB on /hda, boots to GRUB (then nothing), fdisk /MBR doesn't restore win booting ability. Have to undo the frigging that GRUB apparently does to my win2k boot.ini.
It's good to see that I'm not only one with this problem.
|
|
|
07-07-2004, 02:55 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Posts: 1
Rep:
|
Yes i have the same problem, and I've tried to search for it on Google and other forums. Anyone with answers? Thanks in advance!
|
|
|
07-08-2004, 11:52 AM
|
#6
|
Senior Member
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034
Rep:
|
Start from scratch, remove --purge grub, apt-get clean then:
To install grub
as root:
apt-get update
apt-get install grub
grub-install /dev/hda
update-grub
all this is assuming you are using the same hard drive.
With your favorite editor, go to /etc/apt/sources.list and add this under your linux menu:
title Windows on /dev/hda1
rootnoverify (hd0,0)
makeactive
chainloader +1
hope this works...
Last edited by macondo; 07-08-2004 at 11:55 AM.
|
|
|
07-11-2004, 02:29 PM
|
#7
|
Member
Registered: May 2004
Posts: 32
Rep:
|
Quote:
Originally posted by macondo
all this is assuming you are using the same hard drive.
With your favorite editor, go to /etc/apt/sources.list and add this under your linux menu:
title Windows on /dev/hda1
rootnoverify (hd0,0)
makeactive
chainloader +1
hope this works...
|
Actually, you want to edit /boot/grub/menu.lst, NOT your apt sources.

|
|
|
All times are GMT -5. The time now is 11:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|