LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 07-06-2005, 09:39 AM   #1
jgottlieb12
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
LILO>GRUB, with a little Drivecrypt thrown in...


I wasn't able to get a response from Linux General, so I'm posting this question here in hopes of getting some input from someone.


Ok, so here's my dilemma.

I have a laptop with a 40GB HD. WinXP on the first 30gb. Then dual booted with Debian.

My drive is laid out as follows:

/dev/hda1 = NTFS - 29GB
/dev/hda2 = FAT32 - 1 GB
/dev/hda3 = ReiserFS - 9GB - this is my "/" and also my "/boot"
/dev/hda4 = LinuxSWAP - 1GB

I also use Securstar Drivecrypt for HD encryption on the NTFS partition.

Originally I installed Debian and used GRUB as my bootloader.

When you install Drivecrypt, and enable the boot authentication, it wraps the authentication portion around the existing MBR. So the first thing the MBR does is authenticate, then it goes on to whatever was there before.

With GRUB, when I installed Drivecrypt and kicked on the boot auth, it authenticates fine, then launches GRUB which hangs as it appears to try to load stage 1.5.

So, I went to LILO. When Drivecrypt wraps the LILO MBR up in it's boot auth, it works fine.

I'm not sure if this has something to do with GRUB STAGE1 being more sophisticated than LILO, or possibly just bigger. But it doesn't work.

The catch is after that, if I setup new kernels etc, and have to run LILO again, away goes my boot auth and my ability to get to my WinXP Partition.

So what I want to do is leave LILO there and have LILO point to GRUB on the first sector of the linux partition.

That way, I can tinker with new kernels etc without having to mess with my MBR.

From everything I've read and all the documentation, it should be as simple as running the following:

grub-install /dev/hda3
or
grub-install (hd0,2)
OR
at the grub prompt:
grub> root (hd0,2)
grub> setup (hd0,2)

Now all of these options have run fine... the problem is they all seem to overwrite my MBR and away goes LILO.

I'm not a Linux GURU by any stretch, so maybe I'm just making a stupid syntax mistake, or maybe what I'm trying to do just can't be done.

Any ideas would be great...

Joshua
CISSP, CEH, CCNP, MCSE, CCSA
 
Old 07-06-2005, 02:51 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

I'm closing thsi thread, because the orginal one http://www.linuxquestions.org/questi...hreadid=339431 is better place for it, especially with the explanation.
 
  


Closed Thread



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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
LILO>GRUB and a little Drivecrypt thrown in... jgottlieb12 Linux - General 4 07-08-2005 05:52 PM
How to prevent the UDP package from being thrown away? fionafhx Linux - Networking 0 12-24-2004 01:49 PM
getting thrown to the login prompt after killing X jdaniel Linux - General 5 09-26-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration