logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

BasicLinux na dyskietce nie startuje - komunikat LIL po użyciu komendy dd i WinImage

DeskStar 08 Lip 2023 16:34 369 3
REKLAMA
  • #1 20646751
    DeskStar
    Poziom 17  
    Posty: 296
    Pomógł: 14
    Ocena: 16
    Witam,

    ostatnio bawię się trochę starym sprzętem m.in. stacją dyskietek na USB. Prawie wszystko śmiga oprócz jednego. Chciałem nagrać na dyskietki minidystrybucję BasicLinux jednak po nagraniu jej komendą dd w Linuxie po prostu nie startuje - wyświetla się tylko w rogu "LIL" (pewnie od LILO) i na tym się kończy. Stacja milczy. Sprawdzałem na innym komputerze i jest dokładnie to samo. Sam obraz jest sprawny bo sprawdzałem na VirtualBox. Nagrywałem również pod Windowsem programem WinImage i efekt ten sam. Może znajdzie się jakiś "linuksowy wyjadacz" i podsunie jakiś pomysł co jest nie tak? :D

    Z góry dzięki za pomoc.
  • REKLAMA
  • #2 20646947
    Gelip
    Poziom 36  
    Posty: 5204
    Pomógł: 321
    Ocena: 607
    Podrzuć ten obraz dyskietki to sprawdzę.

    Dodano po 11 [minuty]:

    Pewnie stacja na USB jest problemem. Wymień ją na sprzętowy emulator FDD-USB np. GOTEK lub użyj pendrive'a USB i GRUB4DOS aby ładować obrazy dyskietek do RAM.
  • REKLAMA
  • #3 20651643
    DeskStar
    Poziom 17  
    Posty: 296
    Pomógł: 14
    Ocena: 16
    Udało mi się uporać z tym komunikatem "LIL" teraz system normalnie bootuje z pierwszej dyskietki - podłączyłem stację pod USB 2.0 i użyłem innej dyskietki. Pojawił się jednak inny problem: po wczytaniu się pierwszej dyskietki wyskakuje prośba o włożenie drugiej jednak gdy to zrobiłem i wcisnąłem enter wyświetla się błąd, że nie może odczytać urządzenia /dev/fd0. Jak się domyślam dzieje się tak gdyż moja stacja jest po USB i zgłasza się jako /dev/sdX w systemie natomiast ścieżka /dev/fd0 odnosi się do 'oryginalnych' wbudowanych stacji dyskietek. Jest na to jakieś rozwiązanie? Może modyfikacja obrazu i podmiana ścieżek? W załączniku podrzucam pierwszy obraz dyskietki i archiwum, które należy wrzucić na drugą dyskietkę.
    Załączniki:
    • BasicLinux.zip (2.65 MB) Musisz być zalogowany, aby pobrać ten załącznik.
  • #4 20655485
    WojtasJD
    Poziom 43  
    Posty: 13766
    Pomógł: 2910
    Ocena: 1575
    DeskStar napisał:
    moja stacja jest po USB i zgłasza się jako /dev/sdX

    Naciśnij <Cltr>+<C> <Enter> i ręcznie spróbuj z edycją (vi) zawartości /etc/fstab

    Kod: Bash
    Zaloguj się, aby zobaczyć kod


    zamień w drugiej linijce /dev/fd0 na /dev/sda czy jak tam się zgłasza, na koniec uruchom : /etc/rc

    "/" jest montowany z RAMdysku więc zmiany są tymczasowe.

    BTW:
    Wersja jądra 2.2.26.

    The Linux USB sub-system napisał:

    How to get USB devices working under Linux

    Basic USB Configuration

    You need a late version kernel. Kernel versions 2.2.7 and later contain the USB code. You should, in an ideal world, be running the current 2.4.0-test kernel, ideally with any pre-patches for the next kernel. The current 2.2.x kernels do contain some USB code, but it is less well supported, and development is patchy. USB code is in fairly early development, so the changes between each version (and the bugs) tend to change fairly fast. Support on the mailing list for anything except the lastest version is scant at best.
    [...]


    The Linux USB sub-system
    How to get USB devices working under Linux
    napisał:
    Mass Storage Devices

    The mass storage device driver can potentially be used with a wide a wide range of USB devices, not all of which would normally be considered to be mass storage. This is because the driver is really an interface between the USB stack and the SCSI layer. Despite this, the instructions in this section are oriented around devices like USB floppy drives, Zip drives, LS120 drives and USB CDROMs.

    Since the mass storage driver presents the USB device as a SCSI device, you need to turn on SCSI support, which is under SCSI support in the configuration script. You should also turn on subordinate options as appropriate to your mass storage device - usually one or more of SCSI disk support, SCSI tape support, SCSI CD-ROM support and SCSI generic support.

    After you have compiled the kernel and rebooted (or added the relevant modules, which is usb-storage.o), you should check /proc/scsi/scsi. Information about your device should be listed.

    You can now mount your device. The exact syntax depends on the device type. The best way is to make suitable entries in /etc/fstab. A suitable entry for a floppy disk would be:

    Kod: Text
    Zaloguj się, aby zobaczyć kod

    [...]
REKLAMA