|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Aiuto errore 18 con ubuntu su hd esterno...
Salve a tutti, sn un nuovo utente anche se coi pc smanetto da un bel pò di tempo, come da titolo volevo risolvere questo problema in generale, sappiate che ho già cercato le discussioni come questa e simili con l'apposito tasto cerca del forum ma leggendole tutte non ho risolto il problema
![]() e non partiva nè linux nè xp (costringendomi a usare fixboot e fixmrb) seguendo varie guide ho modificato il menu.lst senza risultati, fino a che con una guida l'ho modificato ma riavviando esce "grub error 18" ![]() ![]() ![]() per gli admi se ho sbagliato qualsiasi cosa modificate pure e accettate le mie scuse... ![]() |
![]() |
![]() |
![]() |
#2 | |
Messaggi: n/a
|
Quote:
http://www.pendrivelinux.com/ |
|
![]() |
![]() |
#3 | |
Registered User
Iscritto dal: Sep 2006
Messaggi: 1056
|
Per aiutarti devi postare il contenuto del file /boot/grub/menu.lst e in più il messaggio che ti restituisce il commando
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Grazie per la risposta ma dal link k mi hai dato non capendo perfettamente l'inglese ho arrancato con il traslate del google, ma io vorrei installare ubuntu su un hd esterno usb da 500gb, quindi anche se ipoteticamente userei quelle cose del tuo link da 500 arriverebbe a 9gb! Poi una volta c'hero riuscito, con il super grub disk ma i miracoli non accadono 2 volte, vedi io non vorrei creare casotti con il menu.lst oppure andare io a modificare, vorrei un comando, trucco o qualsiasi cosa k lo facesse per me, pigro e antipatico lo so, quindi sono sempre al punto di prima....
![]() ![]() ![]() ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#5 |
Messaggi: n/a
|
|
![]() |
![]() |
#6 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
allora copio e incollo il menu.lst appena preso
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not use 'savedefault' or your # array will desync and will not let you boot your system. default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 3 ## hiddenmenu # Hides the menu by default (press ESC to see the menu) hiddenmenu # Pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=UUID=cd37dff8-d134-4e4a-8d2f-d73b61b8ad71 ro ## Setup crashdump menu entries ## e.g. crashdump=1 # crashdump=0 ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## title Ubuntu 8.04, kernel 2.6.24-16-generic root (hd0,0) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=cd37dff8-d134-4e4a-8d2f-d73b61b8ad71 ro quiet splash initrd /boot/initrd.img-2.6.24-16-generic quiet title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=cd37dff8-d134-4e4a-8d2f-d73b61b8ad71 ro single initrd /boot/initrd.img-2.6.24-16-generic title Ubuntu 8.04, memtest86+ root (hd0,0) kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST Ricordo che ho usato una guida presa da qui http://aleit.wordpress.com/2008/02/0...-esterno-grub/ e quindi ho cambiato gli (hd1,0) in (hd0,0) e viceversa lasciando però un (hd0,1) e se dico che se formatto il mio hd da 500 in fat32 e mi spuntano 9gb è perkè lo fatto... mi sono scordato un altra cosa (cm sempre) sto rompendo un pò le balle ma potreste dirmi come connettermi a una rete wireless con la live?? riesco a mettere l'indirizzo ip ma non so dove inserire la password...forse non l'ho messo nella sezione adatta, ma nel dubbio l'ho messa qui, se ho sbagliato scusatemi
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? Ultima modifica di Narutost : 17-08-2008 alle 13:28. |
![]() |
![]() |
![]() |
#7 |
Registered User
Iscritto dal: Sep 2006
Messaggi: 1056
|
Manca però il messaggio restituito dal comando
fdisk -l Il tuo menu.ls è corretto a patto che linux sia installato sulla prima partizione dell' HD esterno. Devi capire in quale partizione hai installato linux. E poi devi installare di nuovo grub in modo che punta su quella partizione. L'installazione di grub si fa dalla console grub root (hdx,y) setup (hdx) quit Una volta fatto devi modificare il menu.lst da root hd(hdx,y) in root hd(0,y) Non ci sono utilty o comandi miracolosi, devi capire come funziona grub e poi configurarlo secondo la sua logica. |
![]() |
![]() |
![]() |
#8 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
T ringrazio per la pazienza, effettivamente mi sono dimenticato del comando
![]() ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#9 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Ho fatto i comandi fdisk -1 e anche fdisk ma non riesco a aprirli cioè con menu.lst ho fatto propietà-->wordpad ma adesso non me la fà cambiare! te la allego...se c riesco...
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#10 |
Registered User
Iscritto dal: Sep 2006
Messaggi: 1056
|
sudo fdisk -l
e poi copia il messagio che ti dà |
![]() |
![]() |
![]() |
#11 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Con: "sudo fdisk -1" esce questo;
sage: fdisk [-b SSZ] [-u] DISK Change partition table fdisk -l [-b SSZ] [-u] DISK List partition table(s) fdisk -s PARTITION Give partition size(s) in blocks fdisk -v Give fdisk version Here DISK is something like /dev/hdb or /dev/sda and PARTITION is something like /dev/hda7 -u: give Start and End in sector (instead of cylinder) units -b 2048: (for certain MO disks) use 2048-byte sectors con "sudo fdisk -|" mi esce il simbolo ">" con "sudo fdisk -l" (elle) esce ciò Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xad8704dd Device Boot Start End Blocks Id System /dev/sda1 * 1 14593 117218241 7 HPFS/NTFS Disk /dev/sdb: 1014 MB, 1014497280 bytes 17 heads, 32 sectors/track, 3642 cylinders Units = cylinders of 544 * 512 = 278528 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdb1 1 3643 990704 6 FAT16 Disk /dev/sdc: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xe52256a0 Device Boot Start End Blocks Id System /dev/sdc1 * 1 59665 479259081 83 Linux /dev/sdc2 59666 60801 9124920 5 Extended /dev/sdc5 59666 60801 9124888+ 82 Linux swap / Solaris con "sudo fdisk -s" sage: fdisk [-b SSZ] [-u] DISK Change partition table fdisk -l [-b SSZ] [-u] DISK List partition table(s) fdisk -s PARTITION Give partition size(s) in blocks fdisk -v Give fdisk version Here DISK is something like /dev/hdb or /dev/sda and PARTITION is something like /dev/hda7 -u: give Start and End in sector (instead of cylinder) units -b 2048: (for certain MO disks) use 2048-byte sectors lo so k sono duro d comprendonio....scusate e grazie malon.....Già t amo! ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
I dischi usb servono per immagazzinare dati da tenere al sicuro. I sistemi operativi devono essere installati nei dischi interni, meno sicuri perché soggetti a riavvii frequenti ed a sbalzi di tensione, facilmente formattabili se non contendono dati. Il modo più semplice di installare Linux è farlo in una partizione del disco principale, quello di win.
|
![]() |
![]() |
![]() |
#13 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Ne sono perfettamente a conoscenza, ma hai mai raggiunto 500gb di dati?? io no, a me linux servirebbe per motivi di studio oltre k al vakkeggio,
![]() ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#14 | ||
Registered User
Iscritto dal: Sep 2006
Messaggi: 1056
|
Bastava fare copia incolla e non provare con tutte le lettere del alfabeto
Quote:
Quote:
Non è che hai dimenticato una chiavetta in qualche porta USB o memory card nel tuo lettore di flash card? Se cosi fosse, si capisce perchè incontri diffcoiltà a fare il boot Magari hai installato grub su questa chiavettta/memory flash. Cosi si spiegerebe tutto. Staccala e reinstalla grub, stavolta sul disco esterno da 500GB. Poi modicica il menu.lst con root (h0,0) |
||
![]() |
![]() |
![]() |
#15 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Scusami, ma avevo capito ke la elle era | e non la lettera, comunque è vero ho inserito una kiavetta o meglio me la sono dimenticata ma non nell'installazione, quando ho installato ubuntu ho staccato tutto, flash card usb tutto, era rimasto solo l'usb...
![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#16 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
Mi avete tutti abbandonato???????
![]() ![]() ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#17 |
Senior Member
Iscritto dal: May 2007
Città: Legnano
Messaggi: 1036
|
il tuo disco è questo
Codice:
Disk /dev/sdc: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xe52256a0 cmq con una partizione di max 10gb (anche molto meno ![]()
__________________
Ciao a tutti ![]() |
![]() |
![]() |
![]() |
#18 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
T ringrazio molto per la risposta, effettivamente hai ragione, 10gb andavano bn ma nn ho un hd con 10-20gb a disposizione, purtoppo sto
![]() ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
#19 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
|
![]() |
![]() |
![]() |
#20 |
Member
Iscritto dal: Aug 2008
Città: Dove vive il mio pc
Messaggi: 33
|
E' quello che tento di fare, breve riassunto
![]() ![]() ![]() ![]() ![]() ![]() ![]()
__________________
$ Fammi il caffe! NO! $ sudo fammi il caffe! Lungo? |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 12:45.