← Back to team overview

sslug-teknik team mailing list archive

Inst af RH5.2 (lilo boot fra ikke-f� harddisk)

 

Thomas Rasmussen wrote:

...

> gerne vil have dem, DiskDruid brokker sig over, at det ikke er "system disk"
> eller noget i den stil. Min forestilling er:

Hvis diskruid bøvler for meget, så prøve "fdisk".

> 1,9 GB SCSI (sda) tildelt Linux Native
> 100 MB SCSI Swab (sda)
> 1 GB SCSI (sdb) tildelt Linux Native
> 1 GB SCSI (sdb) tildelt Windows 98
> Udover mine 2 diske, har jeg 2 alm. ide diske (4,3 GB og 2 GB) den store af
> dem er delt op i 2 partitioner c:\ (2 GB) og g:\ (2,3 GB)

Når du blander IDE og SCSI kan det give problemer, specielt hvis bootdisk
ikke er 1. IDE disk, men første SCSI disk. Men så vidt jeg forstår
er hda boot-disken.

> dvs. at jeg gerne vil have det til at se saaledes ud.
> hda1        2 GB        win98
> hda5        2 GB        win98 filsystem
> hdb1        2 GB        Win98 filsystem
> sda1        1.9 GB     Linux native (indeholdende hele filsystemet)
> sda2        100 MB    Linux swap
> sdb1        1 GB        linux native
> sdb2        1 GB         win98 filsystem.
> Jeg vil gerne bruge lilo til at dualboote mellem Linux og Win98.
> Hvordan opretter jeg dette i installationen, saaledes at det bliver saa
> smertefrit som muligt.

1)
Laver en lille linuxpartition (/boot ?)på hda f.eks. 10MB 
(stor nok til en/flere kerner).
2) anvender loadlin.exe i win98 opstart
3) måske bruger andre bootmanagere ?

Fra /usr/doc/lilo/Manualt.txt.gz :

.......snip....................
The LILO boot sector is designed to be usable as a partition boot sector. 
(I.e. there is room for the partition table.) Therefore, the LILO boot 
sector can be stored at the following locations:

  - boot sector of a Linux floppy disk. (/dev/fd0, ...) 
  - MBR of the first hard disk. (/dev/hda, /dev/sda, ...) 
  - boot sector of a primary Linux file system partition on the first hard 
    disk. (/dev/hda1, ...) 
  - partition boot sector of an extended partition on the first hard disk. 
    (/dev/hda1, ...)* 

  *  Most FDISK-type programs don't believe in booting from an extended 
    partition and refuse to activate it. LILO is accompanied by a simple 
    program (activate) that doesn't have this restriction. Linux fdisk also 
    supports activating extended partitions.

It _can't_ be stored at any of the following locations:

  - boot sector of a non-Linux floppy disk or primary partition. 
  - a Linux swap partition. 
  - boot sector of a logical partition in an extended partition.* 
  - on the second hard disk. (Unless for backup installations, if the 
    current first disk will be removed or disabled, or if some other boot 
    loader is used, that is capable of loading boot sectors from other 
    drives.) 

.......snip....................

-- 
mvh Frank Damgaard  frda@xxxxxxxxxxxxx | frank@xxxxxxxx |fido  2:236/15.2


References