← Back to team overview

sslug-teknik team mailing list archive

Re: Redning af W2K installation

 

On Wed, 01 Aug 2001 09:46:16 +0200, Mogens Kjaer wrote in 
<3B67B3C8.86BA4656@xxxxxx>:

> Mogens Valentin wrote:

> > Du burde kunne boote op på en (måske w2000 formatteret) dos floppy med
> > dos fdisk og skrive fdisk /mbr, som skriver... gæt engang: MBR til den
> > disk, dos ser som bootdisk.
> 
> Så skal man også have en linux bootdisk parat, ellers mister man
> kontakten
> til linux partitionen.

Jeg kan til enhver en tid boote på SuSE Linux installations-mediet, så det 
går nok.
 
> David, hvad står der i /etc/lilo.conf ?

dt:/home/david # cat /etc/lilo.conf
# LILO configuration file
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
#  restrict usage of boot params by setting a passwd and using the option
#  restricted.
#password=bootpwd
#restricted
append="vga=0x0301 hdc=ide-scsi mem=255M"
boot=/dev/hda
#compact       # faster, but won't work on all systems.
lba32
vga=normal
message=/boot/message
menu-scheme=Wg:kw:Wg:Wg
read-only
prompt
timeout=50
disk=/dev/hda
        bios=0x80
disk=/dev/sr0
        bios=0x81
disk=/dev/sda
        bios=0x82
disk=/dev/sdb
        bios=0x83
# End LILO global Section
#
image = /boot/vmlinuz
  root = /dev/sda3
  label = lin
  initrd = /boot/initrd
  optional 
#
other = /dev/hda1
  label = win
  table = /dev/hda 
#
image = /boot/memtest.bin
  label = memtest86 
dt:/home/david #  

> Hvad skriver den, når du kører lilo?

LILO version 21.6, Copyright (C) 1992-1998 Werner Almesberger
Linux Real Mode Interface library Copyright (C) 1998 Josh Vanderhoof
Development beyond version 21 Copyright (C) 1999-2000 John Coffman
Released 04-Oct-2000 and compiled at 19:20:40 on Jan 21 2001. 
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Device 0x0801: BIOS drive 0x82, 64 heads, 17501 cylinders,
               32 sectors. Partition offset: 32 sectors.
Secondary loader: 16 sectors.
Device 0x0801: BIOS drive 0x82, 64 heads, 17501 cylinders,
               32 sectors. Partition offset: 32 sectors.
Mapping message file /boot/message
Device 0x0801: BIOS drive 0x82, 64 heads, 17501 cylinders,
               32 sectors. Partition offset: 32 sectors.
Message: 0 sectors.
Boot image: /boot/vmlinuz
Device 0x0801: BIOS drive 0x82, 64 heads, 17501 cylinders,
               32 sectors. Partition offset: 32 sectors.
Setup length is 8 sectors.
Mapped 0 sectors.
Mapping RAM disk /boot/initrd
Device 0x0801: BIOS drive 0x82, 64 heads, 17501 cylinders,
               32 sectors. Partition offset: 32 sectors.
RAM disk: 0 sectors.
Added lin *
    <dev=0xb2,hd=0,cyl=28,sct=177>
    "ro root=803 BOOT_FILE=/boot/vmlinuz vga=0x0301 hdc=ide-scsi mem=255M"
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Device 0x0300: BIOS drive 0x80, 255 heads, 1650 cylinders,
               63 sectors. Partition offset: 0 sectors.
Device 0x0301: BIOS drive 0x80, 255 heads, 1650 cylinders,
               63 sectors. Partition offset: 63 sectors.
Mapped 6 (4+1+1) sectors.
Added win
    <dev=0xb2,hd=0,cyl=28,sct=213>
    "ro vga=0x0301 hdc=ide-scsi mem=255M"
Boot image: /boot/memtest.bin
Device 0x0801: BIOS drive 0x82, 64 heads, 17501 cylinders,
               32 sectors. Partition offset: 32 sectors.
Setup length is 4 sectors.
Mapped 0 sectors.
Added memtest86
    <dev=0xb2,hd=0,cyl=28,sct=222>
    "ro BOOT_FILE=/boot/memtest.bin vga=0x0301 hdc=ide-scsi mem=255M"
/boot/boot.0300 exists - no backup copy made.
Map file size: 24576 bytes.
Writing boot sector.

-- 
Med venlig hilsen / Best regards
David List



References