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
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.
> 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
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
> 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
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
> 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