[ltp] something for the experts

André Wyrwa linux-thinkpad@linux-thinkpad.org
Thu, 13 Nov 2003 12:02:20 +0100


Hi everybody,

I'm having two little problems here on my T23, which keep me wondering
and wondering...

1. Even though I thought i solved this problem, it turned out, I didn't:
   When trying to mount drives as user, which require kernel modules to
   be modprobed, they don't get modprobed automatically (namely the ones
   needed to enable scsi-ide emulation). Modprobe seems not even to be
   called by the kernel. When doing it as root everything works fine.
   Any ideas?

2. The partition table of my harddrive might be considered a bit wired,
   I have to admit:

   /dev/hda1   *         1         7     52888+  83  Linux
   /dev/hda2             8       285   2101680    7  HPFS/NTFS
   /dev/hda3           286      5168  36915480    f  Win95 Ext'd (LBA)
   /dev/hda4          5141      5168    211680   a0  IBM Thinkpad
hibernation
   /dev/hda5           286       979   5246608+   7  HPFS/NTFS
   /dev/hda6           980      3754  20978968+   c  Win95 FAT32 (LBA)
   /dev/hda7          3755      3789    264568+  82  Linux swap
   /dev/hda8          3790      4483   5246608+  83  Linux
   /dev/hda9          4484      4761   2101648+  83  Linux
   /dev/hda10         4762      5038   2094088+   7  HPFS/NTFS

   Please don't ask why I want to have both Win2k and WinXp.

   What I want to do is to make my boot selection with lilo...or maybe
   grub later on, but for the time being its still lilo.

   I have everything set up on the linux side, I'd say, here's
   lilo.conf:

boot    = /dev/hda1

install = /boot/boot-bmp.b
#bitmap = /boot/img/logo64a.bmp
#bmp-colors = 6,9,0,15,9,0
#bmp-table = 59,5,1,18
#bmp-timer = 66,28,6,8,0 

#bitmap = /boot/img/ins64a.bmp
#bmp-colors = 14,11,,15,9,0
#bmp-table = 21,287p,2,4,175p
#bmp-timer = 73,29,12,8,0

bitmap = /boot/img/ibmtp1.bmp
bmp-colors = 4,0,15,1,0,15
bmp-table = 60,20,1,5
bmp-timer = 2,24,3,0,15

vga = 791
read-only
lba32
prompt
timeout = 30
#message        = /boot/message

append="hde=ide-scsi"

  other  = /dev/hda2
  label  = win2k

  image  = /boot/lfskernel
  label  = lfs
  root   = /dev/hda8
  initrd = /boot/initrd.splash
  append = "hdc=ide-scsi hde=ide-scsi hdf=ide-scsi idebus=66
splash=silent"
  read-write

  image  = /boot/lfskernel.2.4.22
  label  = lfssave
  root   = /dev/hda8
  read-write

  image  = /boot/lfskernel.2.4.19
  label  = failsafe
  root   = /dev/hda8

#  image  = /boot/vmlinuz.suse
#  label  = suse
#  root   = /dev/hda9
#  initrd = /boot/initrd.suse

  other  = /dev/hda5
  label  = winxp

My problem is how to get rid of the stupid win bootmenu?
If I boot to win2k (/dev/hda2), I get the boot menu with entries for
winxp and win2k, but if i boot to winxp (/dev/hda5) it just doesn't do
anything. I once did this already on an older system which i haven't
anymore and i don't find the guide anymore which i followed back then.

I mirrored ntldr, ntdetect.sys and boot.ini as well as arcldr.exe and
arcsetup.exe to both win partitions. And I know what modifications I'd
have to do to the boot.ini files, but I remember that I was supposed to
do a call to some executable under winxp, to install the bootloader on
the xp partition as well.

Any ideas are very much appreciated.

Andre.