Thomas Dodd wrote:
> [EMAIL PROTECTED] wrote:
> > On Wed, 18 Jul 2001, Hugo Carvalho wrote:
> > > will this install the NT loader back in the MBR or call it from where ever it
> > > is (NT part  I guess)?
> > 
> > Oh, yeah.
> >  I dunno why Linux won't boot NT, even if ntfs is compiled into the
> > kernel. Maybe somebody else can enlighten us.
> 
> LILO can boot NT, I've done it before, but NT wants stuff
> in the right place. You can only boot from NTFS (even in NT)
> if it is the first partition (on the first drive I think).
> Other partitions have to be FAT, and not FAT32.

Yes, not quite so, true, not true, true, not true.

My disk layout (as you see, NTFS is not the first partition
and the other FATs aren't FAT16 but 28):
[root@wonko ~]$ fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 2495 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
   /dev/hda1             1         1      8001   83  Linux
   /dev/hda2             2       261   2088450   17  HPFS/NTFS
   /dev/hda3   *       262       522   2096482+   b  Win95 FAT32
   /dev/hda4           523      2495  15848122+   f  Win95 Ext'd (LBA)
   /dev/hda5           523      1024   4032283+   b  Win95 FAT32
   /dev/hda6          1025      1834   6506293+   b  Win95 FAT32
   /dev/hda7          1835      2095   2096451   83  Linux
   /dev/hda8          2096      2356   2096451   83  Linux
   /dev/hda9          2357      2421    522081   83  Linux
   /dev/hda10         2422      2460    313236   83  Linux
   /dev/hda11         2461      2495    281106   82  Linux swap

The following lilo.conf entries do the trick and allow seamless
booting of winnt/2k and win9x (apart from linux of course):

change-rules
  type = fat32
    normal = 0x0b
    hidden = 0x1b
  type = ntfs
    normal = 0x07
    hidden = 0x17

#winnt/2k
other = /dev/hda2
  label = 2
  table = /dev/hda
  change
    partition = /dev/hda3
      deactivate
      set = fat32_hidden
    partition = /dev/hda2
      activate
      set = ntfs_normal

#win9x
other = /dev/hda3
  label = w
  table = /dev/hda
  change
    partition = /dev/hda2
      deactivate
      set = ntfs_hidden
    partition = /dev/hda3
      activate
      set = fat32_normal

Hope it helps someone.

-- 
"Jump. Jump, now!"
        -- Kosh to Sheridan in Babylon 5:"Z'ha'dum"
IRCNet & DALNet: #babylon5-pl  |  SF Homepage  *under reconstruction*
http://home.elka.pw.edu.pl/~dmierzej | Linux registered user #134951.



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to