Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do I make lilo stop hiding partitions?

0 views
Skip to first unread message

Ted Berg

unread,
Aug 3, 2001, 3:43:22 AM8/3/01
to
I have a multiboot system, and recently upgraded to Mdk8. Now it seems
that lilo has decided that it needs to hide my second fat32 partition ( I
have 2 of them ). This means that all of my data on that partition is
hidden from win98. what to do?

I've looked in the lilo.conf manpage, and they ramble on about how to
hide partitions, but the info on how to mark them hidden or not is *very*
sketchy. I haven't found a lilo homepage ( if there *is* such a beast ),
or a lilo mailing list either.

Can *someone* point me in the right direction?

ted

Frank Miller

unread,
Aug 3, 2001, 11:28:29 AM8/3/01
to

I doubt if it is lilo doing this. I have a similar situation using Boot
Magic. I can activate the second partition using Partion Magic if I
need to.

Achim Linder

unread,
Aug 3, 2001, 11:28:03 AM8/3/01
to
On Fri, 03 Aug 2001 00:43:22 -0700, Ted Berg wrote:

> I've looked in the lilo.conf manpage, and they ramble on about how to
> hide partitions, but the info on how to mark them hidden or not is
> *very* sketchy.

/usr/share/doc/lilo-0.21.7/README.bz2

www.wwnet.com/~stevelim/booting.html

You can also use /sbin/fdisk to change the partition type back to normal.

Achim

Ted Berg

unread,
Aug 3, 2001, 3:16:03 PM8/3/01
to
In article <3B6AC49E...@home.com>, "Frank Miller"
<fmil...@home.com> wrote:

I just posted some system info, and steps I have taken to attempt to
isolate the problem. I'd like you input on it, as it has convinced me
that the problem lies with lilo.

I haven't heard of Boot Magic, what is it?

Ted

Ted Berg

unread,
Aug 3, 2001, 3:07:16 PM8/3/01
to
In article <9keg4n$1754$1...@wrath.news.nacamar.de>, "Achim Linder"
<achim....@nikocity.de> wrote:

> On Fri, 03 Aug 2001 00:43:22 -0700, Ted Berg wrote:
>
>> I've looked in the lilo.conf manpage, and they ramble on about how to
>> hide partitions, but the info on how to mark them hidden or not is
>> *very* sketchy.
>
> /usr/share/doc/lilo-0.21.7/README.bz2

Thanks, I missed this somehow the first time around. All else failing I
may be able to set the partition types by hand with this.

> www.wwnet.com/~stevelim/booting.html

I haven't completely read this yet, but thanks.



> You can also use /sbin/fdisk to change the partition type back to
> normal.

I've been doing this, but it doesn't matter. I can access the partition
just fine in linux, and was able to boot to the os installed on it (
win2k ), but the win98 install couldn't see the partition. I'll be
posting more info in a minute.

Thanks for your help.

ted

Ted Berg

unread,
Aug 3, 2001, 3:14:52 PM8/3/01
to
The partition that keeps vanishing is /dev/hda3. It's supposed to be type
c, but when lilo boots it gets changed to 1c.

just to be *certain* I blanked /dev/hda2 and disabled the os (win2k) on
/dev/hda3. I used fdisk /mbr ( dos version ) to wipe the master boot
record, formatted /dev/hda2 and reinstalled win98 onto that partition.
Everything went fine, and I was able to see /dev/hda3 across multiple
reboots.

Once I was satisfied that the problem wasn't going to manifest itself in
windows, I rebooted to linux ( recently upgraded from Mdk 7.1 or 7.2 to
Mdk 8 ), edited my /ect/lilo.conf file to re-enable booting to /dev/hda2,
ran lilo, and rebooted.

A boot to win98 yielded a missing drive D: ( /dev/hda3 ), and booting to
linux again for a partition check ( fdisk and cfdisk ) showed the
partition type for /dev/hda3 to be 1c again.

In conclusion, I am left with all evidence suggesting that lilo is
changing the partition type for /dev/hda3. I don't know why, or where
it's being told to - you can see that my lilo.conf doesn't address that at
all.

Just for the record: This started happening right after I upgraded to Mdk
8. The system as you see it below functioned properly up until that
point.

My fstab:
-------------------------
/dev/cdrom2 /mnt/cdrom2
iso9660 ro,nosuid,noauto,exec,user,nodev 0 0
/dev/cdrom /mnt/cdrom
iso9660 ro,nosuid,noauto,exec,user,nodev 0 0
/dev/fd0 /mnt/floppy
vfat sync,nosuid,noauto,user,nodev,unhide 0 0
/dev/hda10 /usr
ext2 defaults 1 2
/dev/hda11 /home
ext2 defaults 1 2
/dev/hda2 /mnt/win_c
vfat user,exec,umask=0 0 0
/dev/hda3 /mnt/work
vfat user,exec,umask=0 0 0
/dev/hda5 swap
swap defaults 0 0
/dev/hda6 /
ext2 defaults 1 1
/dev/hda7 /var
ext2 defaults 1 2
/dev/hda8 /tmp
ext2 defaults 1 2
/dev/hda9 /root
ext2 defaults 1 2
/dev/sda1 /mnt/sandisk
vfat noexec,user 0 0
none /dev/pts
devpts mode=0620 0 0
none /proc
proc defaults 0 0


/etc/lilo.conf
---------------------------------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=ask
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
vga=0x030C
label=linux
root=/dev/hda6
append="hdc=ide-scsi hdd=ide-scsi idebus=66" read-only
image=/boot/vmlinuz-2.2.19-4.1mdk
label=failsafe
root=/dev/hda6
append=" hdd=ide-scsi failsafe"
read-only
other=/dev/hda2
label=windows
#table=/dev/hda
other=/dev/fd0
label=floppy
unsafe
image=/boot/vmlinuz-2.4.3-20mdk
label=243
root=/dev/hda6
read-only
optional
append=" hdc=ide-scsi hdd=ide-scsi idebus=66"


---

Ted

Achim Linder

unread,
Aug 3, 2001, 5:03:45 PM8/3/01
to
On Fri, 03 Aug 2001 12:14:52 -0700, Ted Berg wrote:

> A boot to win98 yielded a missing drive D: ( /dev/hda3 ), and booting to
> linux again for a partition check ( fdisk and cfdisk ) showed the
> partition type for /dev/hda3 to be 1c again.

You may try grub or compile lilo without -DREWRITE_TABLE, but I think
it's more likely that Windows hides the partition because hda3 is the
second primary Windows partition on this disk.

Achim

0 new messages