[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux on USB HDD



> Вы писали 7 июня 2004 г., 23:24:24:
> 
> DEO> 1. прописать правильно секцию boot в lilo.conf
>                   ^^^^^^^^^
> DEO> 2. прописать правильно usb-дривера в initrd
>                   ^^^^^^^^^
> 
> Если на дискету в лило соответственно
> boot=/dev/fd0
а для загрузки с флешки пишите /dev/sda?

это первое
второе надо написать в lilo.conf правильный id для этого (загрузочного)
диска: скорее всего биос его поставит в 0x80, а Linux ему что-то свое
присвоит

вот это в Мане почитайте:

The  boot process takes place in two stages.  The first stage loader is
a single sector, and is loaded by the BIOS or by the loader in the MBR.
It  loads  the multi-sector second stage loader, but is very space lim-
ited.  When the first stage loader gets control, it  types  the  letter
"L"; when it is ready to transfer control to the second stage loader it
types the letter "I".  If any error occurs, like a disk read error,  it
will  put  out  a  hexadecimil  error code, and then it will re-try the
operation.  All hex error codes are BIOS return values, except for  the
lilo-generated 40, 99 and 9A.  A partial list of error codes follows:

то есть у Вас lilo просто не знает чего где искать


> 
> Делаю из под KNOPPIX
> sudo mkinitrd -r /dev/sda1 -d /mnt/sda1/etc/mkinitrd/
> -o /mnt/sda1/boot/initrd.img /mnt/sda1/lib/modules/2.4.22-xfs/
> 
а чего в /etc/mkinitrd/modules ?
usb-storage прописан???
драйв его же юзает?


> chroot /mnt/sda1
> lilo
> 
> reboot
> 
> Картина всё та же.
по идее логично



Reply to: