LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-05-2008, 02:36 PM   #1
zaphod_double
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Grub stage 2 partially working with kubuntu


I'm trying to get a dual but set up so I can select to boot to linux
from the windows boot menu (as well as being able to select windows from the linux boot menu)

Background:
I have installed Gutsy Kubuntu on a laptop which has a single SCSI 40 GB HDD,I used to have XP + Red Hat 9.0 in a dual boot set up
and I'd used a command along the lines of

dd if=/dev/hda2 of=/mnt/floppy/linux.bin bs=512 count=1

where hda2 was instead the sda partition which had the /boot sector
of the red hat installation

the file linux.bin was put into C:\ for XP and the C:\boot.ini was modified
to default to C:\linux.bin
and included a line
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" to boot to windows

I tried to repeat the exercise for (K)ubuntu Gutsy
but am reluctant to mess with the first 19.5 GB of the drive as they now
hold XP and lots of files which would be awkward to replace

after installing Kubuntu, I've got a boot menu made by the linux installation which offers me linux, linux safe mode, memtest and windows
all of which work when selected
but once in the windows menu
selecting boot to linux
calls a newly created 512 byte file (built from
the new kubuntu using the above type command) and this successfully starts
GRUB stage 1
but grub stage 2 fails to load and GRUB error 18 is reported

I would like some help understanding the fundamental problem
I've read various forum pages and they only seem to cover situations
when nothing works and the problem is either
i) old BIOS 1023 cylinders problem
ii) GRUB installation being damaged somehow etc

I believe these don't apply to me from the fact that the linux boot menu works, that grub stage 2 is in place and can be found (even though it is more than 19 GB from the start of the disk)

I know my BIOS is LBA enabled so what should I look at next?
 
Old 01-05-2008, 07:13 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,361

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Try grub4dos.
Else to do what you want to do, you need the Windoze loader in the MBR (not grub), and you'll need to install grub to the root partition to get the boot sector record built correctly, then redo the "dd".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beryl Partially Working cdm710 Linux - Software 3 03-15-2007 03:39 PM
[Compro VideoMate TV PVR/FM] SAA7134 only partially working kashzone Linux - Hardware 1 10-13-2006 04:01 PM
Linspire-Live CD partially boot, command grub:\ appears Josil Linspire/Freespire 2 04-15-2006 06:43 PM
firefox partially working need help possibly configuring laminac Linux - Newbie 4 10-12-2005 06:33 PM
File associations (partially) not working in KDE J_Szucs Linux - General 0 02-10-2005 11:58 PM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration