|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Member
Iscritto dal: Jan 2004
Città: CO
Messaggi: 115
|
[Debian] Problema Lilo "block move error 0x03"
Ciao a tutti!
Ho appena installato Debian. C'è però un problema con Lilo: al boot infatti mi da il seguente errore "block move error 0x03" che si ripete in continuazione fino a quando schiaccio ctrl. Riesco ad avviare il sistema grazie al floppy creato durante l'installazione. Lilo l'ho installato nell'MBR. Se può essere utile posso postare il file /etc/lilo.conf... ma sembra corretto. Come posso provare a risolvere? Qualsiasi idea è ben accetta! |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Sep 2004
Messaggi: 3967
|
Ciao!
Anche a me mi fece questo problema sul portatile subito dopo l'installazione e lo risolsi in questo modo: Ho fatto il boot dal 1° cd di debian (ma se tu hai il floppy dovrebbe andare bene ugualmente) e ho fatto il boot in modalità rescue così: rescbf24 root=/dev/hda1 (perchè la mia partizione di root era appunto hda1), poi, mi sono loggato come root e ho dato: lilo -v Poi ho tolto il cd, ho riavviato ed ha funzionato. Spero sia questo il tuo problema, di più non so dirti perchè sono un niubbo. Ciao. RaouL. |
|
|
|
|
|
#3 |
|
Member
Iscritto dal: Jan 2004
Città: CO
Messaggi: 115
|
Grazie RaouL_BennetH, ma putroppo mi da ancora il problema...
Vi posto il lilo.conf: # Support LBA for large hard disks. # lba32 # Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81 #disk=/dev/sda # bios=0x80 # Specifies the boot device. This is where Lilo installs its boot # block. It can be either a partition, or the raw device, in which # case it installs in the MBR, and will overwrite the current MBR. # boot=/dev/hda # Specifies the device that should be mounted as root. (`/') # root=/dev/hda1 # Enable map compaction: # Tries to merge read requests for adjacent sectors into a single # read request. This drastically reduces load time and keeps the # map smaller. Using `compact' is especially recommended when # booting from a floppy disk. It is disabled here by default # because it doesn't always work. # # compact # Installs the specified file as the new boot sector # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # install=/boot/boot-menu.b # Specifies the location of the map file # map=/boot/map # You can set a password here, and uncomment the `restricted' lines # in the image definitions below to make it so that a password must # be typed to boot anything but a default configuration. If a # command line is given, other than one specified by an `append' # statement in `lilo.conf', the password will be required, but a # standard default boot will not require one. # # This will, for instance, prevent anyone with access to the # console from booting with something like `Linux init=/bin/sh', # and thus becoming `root' without proper authorization. # # Note that if you really need this type of security, you will # likely also want to use `install-mbr' to reconfigure the MBR # program, as well as set up your BIOS to disallow booting from # removable disk or CD-ROM, then put a password on getting into the # BIOS configuration as well. Please RTFM `install-mbr(8)'. # # password=tatercounter2000 # Specifies the number of deciseconds (0.1 seconds) LILO should # wait before booting the first image. # delay=20 # You can put a customized boot message up if you like. If you use # `prompt', and this computer may need to reboot unattended, you # must specify a `timeout', or it will sit there forever waiting # for a keypress. `single-key' goes with the `alias' lines in the # `image' configurations below. eg: You can press `1' to boot # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'. # # message=/boot/bootmess.txt # prompt # single-key # delay=100 # timeout=100 # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>) # # vga=ask # vga=9 # vga=normal # Kernel command line options that apply to all installed images go # here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in # the Linux kernel `Documentation' directory. # # append="" # Boot up Linux by default. # default=Linux image=/vmlinuz label=Linux read-only # restricted # alias=1 #image=/vmlinuz.old # label=LinuxOLD # read-only # optional # restricted # alias=2 # If you have another OS on this machine to boot, you can uncomment the # following lines, changing the device name on the `other' line to # where your other OS' partition is. # # other=/dev/hda4 # label=HURD # restricted # alias=3 |
|
|
|
|
|
#4 |
|
Member
Iscritto dal: Jan 2004
Città: CO
Messaggi: 115
|
Secondo voi il problema è sull'MBR o sulla partizione hda1?
Forse questo può essere interessante: -M master-device [ mbr-file ] Install a Master Boot Record on the device specified as master-device. The new MBR is copied by default from "/boot/mbr.b", unless a specific file is named as the second argument. The primary partition table on master-device is undistrubed. If no device serial number is present, then gen_ erate one and write it to the MBR. # lilo -M master-device Fatal: Cannot open master-device: No such file or directory Il file /boot/mbr.b non esiste!! |
|
|
|
|
|
#5 |
|
Member
Iscritto dal: Jan 2004
Città: CO
Messaggi: 115
|
Ho installato Red Hat, che utilizzando GRUB, è partita senza problemi!!
Ho quindi reinstallato debian, disinstallato lilo e installato grub: #apt-get install grub. Ho riavviato, ma è partito ancora LILO con il suo problema!! Devo dire a GRUB di installarsi nell'MBR? Come devo fare? Ho guardato il man, ma non trovo quello che cerco.... Come si fa? |
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
In effetti grub è molto meglio di lilo, molti considerano grub molto più di un boot loader ... in effetti è in grado di fare cose inimmaginibili con lilo
installa sia grub che la documentazione # apt-get install grub grub-doc ora hai tutta la documentazione per grub # info grub prima fai una prova che tutto funzioni correttamente, installa su un dischetto soltanto grub (queste istruzioni cancellano i dati contenuti nel floppy) # cd /lib/grub/i386-pc # dd if=stage1 of=/dev/fd0 bs=512 count=1 # dd if=stage2 of=/dev/fd0 bs=512 seek=1 hai appena creato un dischetto con installato grub; questo dischetto puoi in teoria utilizzarlo per far partire qualsiasi sistema operativo su qualsiasi disco!!! guarda dove è il /boot o meglio il vmlinuz-xxx che usi per avviare GNU/Linux # df se hai una riga tipo /dev/hda2 ...... ... ... /boot vuol dire che il boot è installato sull'hda partizione 2 (caso 1) se invece non hai tale riga prendi questa /dev/hda5 ... .... .... / cioè dove è installata la root (caso 2) ok riavvia il pc con dentro il dischetto e ti apparirà un prompt grub> putroppo è qui attiva la tastiera americana ... ora cerca dove è installato il tuo kernel ed impostalo per la partenza (non è un'impostazione permanente, ma solo temporanea per questa sessione) Nota se hai solo un disco usa hd0 (primo disco presente nel pc), puoi usare il tasto tab per il completamento automatico e help o help <comando> per un help minimale Nota2 tieni presente che hd0 indica il primo disco e hd0,0 indica primo disco prima partizione primaria (le partizioni estese partono da 5 anche se non ne hai 4 primarie) caso 1: primo disco (hd0) e seconda partizione (,2) grub > kernel (hd0,2)/vmli premi tab e ti dovrebbe completare il nome, se ti riporta un elenco di nomi scegliene uno completando a mano la scritta caso 2: grub> kernel (hd0,2)/boot/vmli premi tab e ti dovrebbe completare il nome, se ti riporta un elenco di nomi scegliene uno completando a mano la scritta premi invio grub> boot e magicamente parte GNU/Linux!! ok ora hai verificato che tutto funziona e hai visto come far partire il sistema operativo senza un boot loader sull'hd (quindi se sbagli qualcosa nell'installazione di grub sai come riparare al danno!) ************ puoi quindi procedere ad attivare grub sull'hd indichi il disco che contiene il /boot # grub-install /dev/hda # update-grub # vi /boot/grub/menu.lst ATTENZIONE: modificare le righe senza decommentarle!! cercare le righe con kopt e groot ed assicurarsi che kopt punti a / e groot a /boot se c'è una partizione winzozz aggiungere le seguenti linee in fondo al file: title MS-DOS + winzozz gui root (hd0,0) makeactive chainloader +1 Per rendere automatico l'update di grub (ogni volta che ti compili il kernel o ne installi uno nuovo) # vi /etc/kernel-img.conf: ed aggiungere le seguenti righe: postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub do_bootloader = no do_initrd = Yes ThePapri
__________________
Il miglior pacchetto per l'ufficio: OpenOffice -> http://it.openoffice.org/ |
|
|
|
|
|
#7 |
|
Junior Member
Iscritto dal: Oct 2008
Messaggi: 1
|
Buon giorno a tutti, mi presento io sono Andrea
ho provato ad installare Zencafè , anche la versione 5.2 ma mi da errore "Block move error 0x03" http://it.youtube.com/watch?v=hs8eaFms8ps aiutooooo scrivi a [email protected] Ultima modifica di laruotachiodata : 06-10-2008 alle 14:07. |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 22:58.



















