LinuxQuestions.org
Review your favorite Linux distribution.
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


Reply
  Search this Thread
Old 02-01-2010, 04:53 PM   #1
tangomar
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
grub, ubuntu9.10 and XP with encryption: bad combo!


Hello,

my first post here.
Unfortunately to report a bad experience just happened.

I have a laptop with XP and software encryption on it (Safeboot).
Safeboot used to load before XP.

I had an USB HDD where I wanted to install Ubuntu9.10. So I booted from a liveCD and installed the Ubuntu distro on the USB disk. Right? Wrong.

Now there is grub on my laptop internal HDD and when the USB disk is disconnected I get the grub rescue prompt.
If I insert the USB disk I get the safeboot prompt complaining that it has been corrupted.

I feel there isn't much to do but I will ask anyway: is there a way to remove grub from the internal drive and recover safeboot as it was?

Thanks for everyone replying.
Omar
 
Old 02-01-2010, 05:11 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,977

Rep: Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329
I expect you installed Grub stage1 file to the master boot record of the internal hard drive inadvertently which is why you get the error. The last time I installed Ubuntu, there was an option as to where to install Grub bootloader, mbr, root partition, not at all but I believe the default is to install to the mbr of the first harddrive. I don't know anything about Safeboot but usually to repair a windows mbr with xp, you would use your installation CD and get to a Rescue/Recovery prompt and run the commands: fixmbr and/or fixboot consecutively.

If you don't have the xp CD or the above fails, post back with that info and someone should be able to explain how to overwrite your mbr.

Last edited by yancek; 02-01-2010 at 05:18 PM.
 
Old 02-01-2010, 05:53 PM   #3
tangomar
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I don't have the XP CD since it was imaged by IT (company PC).
I imagine that GRUB copied the original MBR and sectors somewhere else. Is it possible to undo it?

The encryption works trapping the hard disk calls and encrypting/decrypting the data as it gets written/read.
I can't re-install the XP MBR since it wouldn't have the safeboot program. Is there a way to move
physically the previous MBR/boot program from where it is now to where it was?

Thanks.

Last edited by tangomar; 02-01-2010 at 06:08 PM.
 
Old 02-01-2010, 06:06 PM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,814

Rep: Reputation: 228Reputation: 228Reputation: 228
As an alternative...

I believe that you can use EasyBCD to repair an XP bootloader, but I would think that the closer you hue to original XP tools in this case the better.

http://neosmart.net/wiki/display/EBC...Remove+Entries

Google has told me that since Smartboot loads before any MBR, any attempt to repair the MBR before dealing with Smartboot is likely to make things worse.

It appears that there is a CD that can be used with a special key to restore Safeboot. You or the IT department should perhaps be in touch with McAfee for help and instructions. Google also mentions that if a backup of this Smartboot installation was made, it will fix the problem. Was whoever did the installation so thorough?

http://community.mcafee.com/thread/18803

Might I strongly suggest that you make a cloned copy of the HDD using either Clonezilla or the linux command "dd". I don't think that you can make any misstep with this problem without getting in deeper trouble. A clone will let you try, then try again from the same point, if not a better one, then one none the worse

Last edited by thorkelljarl; 02-01-2010 at 06:28 PM.
 
Old 02-02-2010, 01:59 PM   #5
tangomar
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks.

I found out that if I but from the liveCD and then I select
"boot from hard drive" option I get to the grub menu.
Is there anything I can learn from here?

How can I copy my laptop HDD partition (I have a disk big enough)?

Thanks
 
Old 02-02-2010, 03:19 PM   #6
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,814

Rep: Reputation: 228Reputation: 228Reputation: 228
GRUB...

You can get to GRUB, but can you boot? You can also boot a live-cd, but as I understand Safeboot, it acts as a scrambler on any input or output, and no live-cd will read the files.

.http://clonezilla.org/

http://clonezilla.org/

http://www.linuxquestions.org/questions/tags/dd

Can you try to with the Safeboot CD and an access code from McAfee?
 
  


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
Editing grub 2 / Ubuntu9.1 & Fedora12 daccord Linux - Newbie 2 01-06-2010 03:54 AM
Combo,combo box and combo entry box diff santhosh.linux Programming 4 02-27-2006 12:37 AM
Any Distros won't install. Combo drive detected on bad irq, hdb: lost interrupt frztrade Fedora 2 02-04-2006 08:32 AM
/me messed up grub.... (really bad this time....) x12344321 Linux - Software 3 04-19-2004 06:42 PM
grub gone bad graffitici Linux - Software 5 09-13-2003 12:50 PM

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

All times are GMT -5. The time now is 08:51 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