LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2002, 11:29 AM   #1
stewe151
Member
 
Registered: Jan 2002
Posts: 49

Rep: Reputation: 15
unhiding partition using LILO


I have windows and Mandrake Linux on my comp, with a seperate fat32 partition so I can access my files through either of the OS's, as I use both often. Yesterday I was changing the default OS in LILO and after I did I could no longer access the fat32 drive through windows. I used partition magic and it says the partition is hidden, but unhiding it using PM never works. I searched the posts on this forum, and used google, but I only found that you can use LILO to unhide partitions, but I found nothing that would show me how. I also used fdisk in linux, and it also shows it as hidden. The partition I want unhidden is /dev/hda3. What is the command I have to use to unhide it?


Thanks!!!!
Steve
 
Old 10-26-2002, 11:45 AM   #2
stewe151
Member
 
Registered: Jan 2002
Posts: 49

Original Poster
Rep: Reputation: 15
okay, I went into the Disk Management in the Admin tools in Windows XP, and it sees all the partitions, including the one I want to put back as a drive. It lists it's status as "Healthy (Active)" but the only command available for it is to delete it. I can't sccess it, assign a drive letter for it, or anything. can someone help me please?
 
Old 10-26-2002, 01:16 PM   #3
stewe151
Member
 
Registered: Jan 2002
Posts: 49

Original Poster
Rep: Reputation: 15
Partition Magic and Windows Disk Management won't change it because it's an active partition, how do I make it inactive?
 
Old 01-06-2005, 10:17 AM   #4
DeadZed
LQ Newbie
 
Registered: Dec 2004
Location: Tallinn , Estland
Distribution: All big ones
Posts: 8

Rep: Reputation: 0
I got exactly the same problem.
My hda (disk0) layout is: hda1-win, hda3-programs, documents, hda5-linux, hda6-swap.
I added some harddrives with a load of partitions on them and installed different linuxes and also installed Paragon Mount Everything in win.
hda3 has become hidden at some point and whatever tool I use (partition magick, qtparted, fdisk, cfdisk) , it becomes hidden again in windows. It seems to me that win converts it into hidden partition for some reason. All other linuxes can read it and convert it but once I start win , it becomes hidden again.
At this point I've decided to save (copy) all data on that partiton and just reformat it.
I also read that some lilo versions make partitions hidden which is doubtful http://lists.debian.org/debian-testi.../msg00097.html , but I'm looking into it
 
Old 01-24-2005, 09:14 AM   #5
djphazer
LQ Newbie
 
Registered: Jan 2005
Location: Michigan, USA
Distribution: Gentoo Linux
Posts: 6

Rep: Reputation: 0
Unhappy I have the same problem

I have verified on my own account that this problem exists and I am sure that LILO is what is causing the partitions to become hidden. I have LILO in the MBR of my main hard drive which has NTFS partitions on hda1 and hda2 and Linux partitions after those. I also have a 2nd hard drive with WinXP on the first partition and a second FAT32 partition.

Just the same, when I use LILO to boot the WinXP partitions, the second partition on either hard drive gets hidden. I can unhide them with a partitioning program like PM (I use Partition Expert) but after reboot, it gets hidden again. HOWEVER - if I unhide the FAT32 on the 2nd drive, and reboot and boot up directly from the 2nd drive [using the default NTLDR] it will boot fine and NOT hide the partition.

By the way, I have LILO v22.6 and I don't think it did this in 22.2...

So... perhaps the advice in that link you posted will work...

Code:
# Override dangerous defaults that rewrite the partition table: 
change-rules
reset
I can't try right now because I'm not at home... I'll post again with a follow-up. Hope this helps!
 
Old 02-12-2005, 06:52 AM   #6
DeadZed
LQ Newbie
 
Registered: Dec 2004
Location: Tallinn , Estland
Distribution: All big ones
Posts: 8

Rep: Reputation: 0
well, whatta you know ... It worked!!!

My proper working lilo:

boot=/dev/hda
message=/boot/splash.lilo
timeout=10
map=/boot/map
prompt
# Override dangerous defaults that rewrite the partition table:
change-rules
reset

other=/dev/hda1
label=Windows®_XP

image=/vmlinuz
label=Xandros_Desktop_3.0_Deluxe
vga=0xf04
root=/dev/hdd6
initrd=/boot/initrd-2.6.9-x1.gz
append="rw acpi=on "

image=/disks/fedora/boot/vmlinuz-2.6.9-1.667
label=Fedora_Core_release_3_on_hdd9
initrd=/disks/fedora/boot/initrd-2.6.9-1.667.img
append="ro root=LABEL=/1 rhgb quiet"

image=/disks/debian/boot/vmlinuz-2.6.8-1-386
label=Debian_GNU_on_hdd5
initrd=/disks/debian/boot/initrd.img-2.6.8-1-386
append="root=/dev/hdd5 ro bootkbd=et"

image=/disks/debian_2/boot/vmlinuz-2.6.8-1-386
label=Debian2_on_hdd8
initrd=/disks/debian_2/boot/initrd.img-2.6.8-1-386
append="root=/dev/hdd8"

image=/disks/hdd7/boot/vmlinuz
label=Vector
root=/dev/hdd7
append="root=/dev/hdd7"
 
  


Reply



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
unhiding root turns around the turn off pcandpc Mandriva 2 06-02-2005 10:12 AM
Unhide partition with lilo ragingchihuahua Linux - Newbie 3 07-25-2004 11:26 PM
Lilo and second partition in second disc arubin Linux - Newbie 4 04-29-2004 06:56 AM
Unhiding Partition in Linux blueplanet200 Linux - Newbie 6 04-11-2004 11:48 PM
Unhiding partition hiden by lilo -> no filesistem. amoros Linux - General 3 03-25-2004 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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