|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Andrey Khavryuchenko 2:5020/400 07 Oct 2001 23:02:24 To : Sergey Kubushin Subject : Re: custom installed linux -------------------------------------------------------------------------------- Serguei, "SK" == Sergey Kubushin wrote: SK> Геометрию винта гвоздями прибей. Что-то типа: SK> Этим объявляется что сказевый винт будет считаться первым диском, а SK> IDEшник вторым, причем он имеет геометрию, отличную от того, что SK> рассказывает BIOS. Hе фурычит: [akhavr@netmaster hdd]$ cat etc/lilo.conf disk=/dev/hdd bios=0x80 heads=5 cylinders=980 sectors=17 map=/boot/map install=/boot/boot.b backup=/boot/boot.orig prompt message=/boot/message default=tiny image=/boot/zImage label=tiny read-only root=/dev/hda1 [akhavr@netmaster hdd]$ sudo /sbin/lilo -r /mnt/hdd -C /etc/lilo.conf -v -v -v LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger 'lba32' extensions Copyright (C) 1999,2000 John Coffman Reading boot sector from current root. Merging with /boot/boot.b Device 0x1641: BIOS drive 0x80, 5 heads, 980 cylinders, 17 sectors. Partition offset: 17 sectors. Secondary loader: 11 sectors. Device 0x1641: BIOS drive 0x80, 5 heads, 980 cylinders, 17 sectors. Partition offset: 17 sectors. Mapping message file /boot/message Device 0x1641: BIOS drive 0x80, 5 heads, 980 cylinders, 17 sectors. Partition offset: 17 sectors. Message: 46 sectors. Boot image: /boot/zImage Device 0x1641: BIOS drive 0x80, 5 heads, 980 cylinders, 17 sectors. Partition offset: 17 sectors. Setup length is 4 sectors. Mapped 824 sectors. Added tiny * <dev=0x80,hd=3,cyl=198,sct=11> "ro root=301 BOOT_FILE=/boot/zImage" /boot/boot.orig exists - no backup copy made. Map file size: 8704 bytes. Writing boot sector. В связи с этим, любопытны циферки, которые он пишет как <dev=0x80,hd=...> Почему hd и sct после каждого запуска разные? Что они означают? -- Andrey V Khavryuchenko http://kds.com.ua/ Offshore Software Development --- ifmail v.2.15dev5 * Origin: KDS Software Group (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/180263d03d104.html, оценка из 5, голосов 10
|