Bug 2194 - /sbin/installkernel => /usr/share/loader/grub: /etc/fstab parsing
Summary: /sbin/installkernel => /usr/share/loader/grub: /etc/fstab parsing
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: bootloader-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-09 07:59 MSK by Dmitry Lebkov
Modified: 2009-09-16 18:13 MSD (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Lebkov 2003-02-09 07:59:21 MSK
Если в /etc/fstab описаны точки монтирования в виде:

LABEL=SomeLabel /boot ext2 defaults ...

\'installkernel -g -c 2.4.20-alt2-smp\' не может добавить 
запись в /boot/grub/menu.lst для устанавливаемого 
ядра и выдает сообщение \"Can\'t convert grub_partition\".
Проблема в /usr/share/loader/grub: функция get_boot_partitions не может правильно определить boot partition, т.к. в /etc/fstab отсутствуют имена разделов.
---

---

Comment 1 iLL 2003-04-08 17:54:08 MSD
Даже если в /etc/fstab есть в начале закомментированная строка,
похожая на описание корневой директории, функция get_boot_partitions неправильно отрабатывает.
parsing-parsing!!
Comment 2 iLL 2003-04-08 17:54:08 MSD
Даже если в /etc/fstab есть в начале закомментированная строка,
похожая на описание корневой директории, функция get_boot_partitions неправильно отрабатывает.
parsing-parsing!!
Comment 3 Dmitry V. Levin 2004-06-03 20:17:08 MSD
Reassigned to maintainer.
Comment 4 Repository Robot 2009-09-16 18:13:52 MSD
bootloader-utils-0.4.1-alt1 -> sisyphus:

* Wed Sep 16 2009 Vladislav Zavjalov <slazav@altlinux> 0.4.1-alt1

- installkernel:
  - change lilo restarting logic (closes #1014, #1015, #20695):
    old behaviour: restart lilo if first bootloader found in
      devices from /proc/partitions is lilo
    new one: restart lilo when lilo bootloader is found in
      device from boot= setting in lilo.conf
  - when detectliloboot.sh fails to find device, there are no
    need to run detectloader.sh (thx Dmitry V. Levin)
      (closes: #21106)
  - suppress unwanted output from cd -
- detectloader: replace by two shell scripts:
    detectliloboot.sh -- to get boot device from lilo.conf
    detectloader.sh -- to get bootloader type on the given device or file
- bootloader_utils.pm:
  - (getroot): recognize UUID and LABEL
      (thx Dmitry V. Levin) (closes: #2194, #18127)
  - remove unused functions (partitions, typeOfMBR) used in
      removed detectloader program
- rebootin
  - remove GRUB support
  - fix working with quoted labels in lilo.conf (closes: #11446).
  - cleanup code, improve error and help messages
  - add long options, add -l option for listing available labels.
  - update manpage
- remove URL and Packager tags (thx Dmitry V. Levin).