LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-25-2004, 05:30 PM   #1
ragingchihuahua
LQ Newbie
 
Registered: Apr 2004
Location: NY
Distribution: Mandrake 10
Posts: 8

Rep: Reputation: 0
Unhide partition with lilo


Ok, I've determined that when I set up my dual-boot frickin' Partition Magic hid hda1, the partition where XP Pro is installed. I can boot into Mandrake 10 fine, but whenever I try to boot XP, I get the dreaded "xmnt2002" error. What I need to do, I believe, is unhide the first partition. I'm using lilo as a bootloader... how do I do this? Specifically,

-how do I edit lilo's config file? I can find it easy enough, but I can't save any changes
-what commands do I add to the config file?

<a href="http://supportforum.sun.com/sjds/index.php?t=msg&goto=2762&rid=0#msg_2762">Here</a> is a record of a similar problem that the guy solved by editing Grub. I seem to have Grub (there's a Grub folder in my boot folder), but it doesn't have the config file mentioned and I don't think it's being used in booting.

Lastly, if I'm going about this all wrong, someone point me in the right direction please?

Thanks muchos,
Dan
 
Old 07-25-2004, 10:29 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
to edit the lilo configuration:

vi /etc/lilo.conf


to write the new configuration to the mbr or wherever you installed lilo:

lilo

or

lilo -v

or

lilo -v -v

or

lilo -v -v -v

etc...

=)


just curious, did you do a windows partition resize with partition magic??

perhaps the error has something to do with the way windows is detecting the drive geometry or something (i'm not sure)??

i remember when i used to dual-boot sometimes i'd have to run "fixboot" or something like that from the windows xp recovery console (booting from xp cd) after doing a resize...


Last edited by win32sux; 07-25-2004 at 10:36 PM.
 
Old 07-25-2004, 11:54 PM   #3
ragingchihuahua
LQ Newbie
 
Registered: Apr 2004
Location: NY
Distribution: Mandrake 10
Posts: 8

Original Poster
Rep: Reputation: 0
Yeah a dual-boot geometry with Partition Magic... the problem was that PM had, by default, hidden my windows partition- set the System ID to 0x17, which is lilo's change-rules is for hidden ntfs. I fixed the problem by using fdisk to change the system ID to 0x07, for normal NTFS. I should write up the entire process and post it somewhere, 'cause a lot of people seem to have this problem...
 
Old 07-26-2004, 12:26 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
yeah, sorry... i realized geometry had nothing to do with your issue as it's the same drive...

*blush*

i remember correctly now why i had needed "fixboot"... it was when i copied the content of a fat32 windows partition to another drive (from within linux)... on the new (destination) drive, fixboot would be needed in order for windows to boot correctly... as it would spit-out an NTLDR is missing error...

anyways, i'm really glad you got it working...

=)


if you really want to post the solution on a separate thread i suggest you use for the subject the error message and some relevant keywords that you feel someone with the problem will use when searching this site or google...

by the way, just curious... is it possible to use the type changing feature of "cfdisk" for doing what you did??


Last edited by win32sux; 07-26-2004 at 12:28 AM.
 
  


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
Can't unhide object in inkscape ezuli Linux - Software 0 10-18-2005 01:29 PM
Unhide a partition? Help plz den-den Linux - Newbie 1 08-23-2005 04:08 PM
NTFS partition got hidden, how to unhide? Whyaken Linux - Newbie 4 03-22-2005 08:44 PM
Unhide FAT32 partition fails donni Linux - Newbie 8 06-16-2004 09:42 AM
unhide in fstab doesn't work Peter Torpey Linux - General 2 08-01-2002 05:57 AM


All times are GMT -5. The time now is 09:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration