Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > [Lab] Partizione Thread Rating: 1 votes, 5.00 average.
Pages (11): « 1 [2] 3 4 5 6 » ... Last »   Last Thread   Next Thread
Author
Thread    Post New Thread    Post A Reply
Paul03
.arcimaestro.

User info:
Registered: Feb 2005
Posts: 290 (0.04 al dì)
Location: Oleggio
Corso: Informatica
Anno: 3
Time Online: 1 Day, 19:39:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Il comando che ho scritto io (qemu-img create -f qcow c.img 10M) serve per crearti il disco virtuale. Lo devi scrivere sul promt di windows portandoti nella directory di qemu. Una volta lanciato questo comando, nella cartella di qemu, troverai un file di nome "disco". A questo punto, prima di lanciare MINIX, devi aggiungerlo al file .bat in modo che ti troverai ad avere "-hda minix3.qcow -hbd disco.img".
Ora puoi lanciare MINIX E incominciare con i vari passaggi per partizionare

18-06-2007 09:36
Click Here to See the Profile for Paul03 Click here to Send Paul03 a Private Message Find more posts by Paul03 Add Paul03 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Paul03
.arcimaestro.

User info:
Registered: Feb 2005
Posts: 290 (0.04 al dì)
Location: Oleggio
Corso: Informatica
Anno: 3
Time Online: 1 Day, 19:39:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by drakess81
Mi è venuto un dubbio... se volessi montare più di una delle partizioni create, come crare dei punti di montaggio? mnt è occupata dalla prima partizione... e se uso altre etichette il sistema non le riconosce...
Sapete aiutarmi?


Io ho provato a montarmi piu partizioni creandomi delle directory dentro /mnt e sembrava funzionare

18-06-2007 09:38
Click Here to See the Profile for Paul03 Click here to Send Paul03 a Private Message Find more posts by Paul03 Add Paul03 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
drakess81
.precettore.

User info:
Registered: Oct 2005
Posts: 83 (0.01 al dì)
Location: Saronno
Corso: Informatica
Anno: 2005
Time Online: 1 Day, 12:05:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Certo... in Minix/Linux tutto è un file quindi basta associare il device ad una directory... che poi non è altro che un file descrittore di contenuti... Grazie! Era logico a pensarci bene...

18-06-2007 10:01
Click Here to See the Profile for drakess81 Click here to Send drakess81 a Private Message Visit drakess81's homepage! Find more posts by drakess81 Add drakess81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
maxj8
.primate.

User info:
Registered: Aug 2004
Posts: 76 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: ehm...
Time Online: 13:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: Problemi


Prima crei il disco con il comando qemu-img create come suggerito... lo si fa da una finestra di dos LANCIANDOLO DALLA CARTELLA IN CUI è INSTALLATO QEMU poi modifichi il file qemu-win.bat aggiungendo -hdb disco2.img a seconda del nome che hai scelto... il resto lo fai in Minix! Se salti i controlli si tratta solo di usare PART per partizionare, MKFS per formattare e MOUNT per montare il FS...


Scusa, cosa intendi per 'se salti i controlli'?

Questo esercizio può essere riassunto con:
-part / fdisk per creare partizioni, ridimensionarle
-mkfs per creare file system sulla partizione indicata
-mount/umount per montare la partizione sulla directory indicata

C'è altro?

18-06-2007 10:08
Click Here to See the Profile for maxj8 Click here to Send maxj8 a Private Message Find more posts by maxj8 Add maxj8 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
drakess81
.precettore.

User info:
Registered: Oct 2005
Posts: 83 (0.01 al dì)
Location: Saronno
Corso: Informatica
Anno: 2005
Time Online: 1 Day, 12:05:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

...nella soluzione prposta dal post iniziale c'erano una serie di controlli sul successo del collegamento dell'HDD virtuale tramite CAT ed il pipe su OD che possono creare confusione.
Saltando i "controlli" si riduce tutto ai 3 comandi che hai scrito...

18-06-2007 10:51
Click Here to See the Profile for drakess81 Click here to Send drakess81 a Private Message Visit drakess81's homepage! Find more posts by drakess81 Add drakess81 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
maxj8
.primate.

User info:
Registered: Aug 2004
Posts: 76 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: ehm...
Time Online: 13:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sull'installazione del Filesystem il tutto si riduce aq 'mkfs /dev/c0d1p1' ? C'è altro che può essere richiesto?

18-06-2007 11:35
Click Here to See the Profile for maxj8 Click here to Send maxj8 a Private Message Find more posts by maxj8 Add maxj8 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
GiKappa
Dubbioso a Progetto

User info:
Registered: Oct 2004
Posts: 1800 (0.25 al dì)
Location: Brescia
Corso: Informatica
Anno: Laureato Triennale
Time Online: 9 Days, 22:39:19 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quando ho fatto quell'istruzione a me non ha creato niente..

secondo voi dove sbaglio?

18-06-2007 12:32
Click Here to See the Profile for GiKappa Click here to Send GiKappa a Private Message Find more posts by GiKappa Add GiKappa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
maxj8
.primate.

User info:
Registered: Aug 2004
Posts: 76 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: ehm...
Time Online: 13:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Quale istruzione?

DOMANDA:
Se io creo da un disco (in Minix) una prima partizione (c0d1p0), poi una partizione estesa (c0d1p1) che contiene 2 unità logiche(c0d1p1s0 e c0d1p1s1)

Poi devo fare il Mkfs sulle singole sottopartizioni o su c0d1p1?

Perchè non riesco a montare le 2 sottopartizioni su cartelle diverse?
(ovvero mount /dev/c0d1p1s0 /mnt non funziona...)

Grazie mille

18-06-2007 13:36
Click Here to See the Profile for maxj8 Click here to Send maxj8 a Private Message Find more posts by maxj8 Add maxj8 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
n3o
tanto c'è SPASS...

User info:
Registered: Oct 2005
Posts: 134 (0.02 al dì)
Location: Brescia
Corso: Informatica Magistrale
Anno:
Time Online: 1 Day, 19:26:05: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mkfs /dev/c0d1p1s0
mkfs /dev/c0d1p1s1

[/dev/c0d1p1 contiene solo la tabella delle partizioni logiche]

Per montare prima crea due cartelle:

mkdir /dir1
mkdir /dir2
mount /dev/c0d1p1s0 /dir1/
mount /dev/c0d1p1s1 /dir2/

Se hai seguito i passaggi precedenti dovrebbe funzionare.

PS: per creare un hd secondario su win usate:

qemu-img create -f raw disk2.img 10M [per 10MB...]

In questo modo avrete un hard disk di soli 0 [vuoto...]
Il formato qcow è un'altra cosa, anche se non crea problemi :)

__________________
The answer is blowing in the wind...

18-06-2007 14:46
Click Here to See the Profile for n3o Click here to Send n3o a Private Message Find more posts by n3o Add n3o to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
bullet
.fedelissimo.

User info:
Registered: Oct 2004
Posts: 44 (0.01 al dì)
Location: busnago
Corso: informatica
Anno: 2
Time Online: 11:13:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie mille ora mi ha creato il file c.img..(sbagliavo quando scrivevo 10m lol)..cmq ora se faccio part /dev/c0d1 , mi dice No Such device or Address.

io ho modificato il file bat qemu-win e gli ho aggiunto :
-hda minix3.qcow -hbd c.img

il fatto è ke i comandi ke avete elencato sopra non riesco a farli xkè minix3 non associa il mio file c.img con la c0d1..
help plz..

18-06-2007 14:49
Click Here to See the Profile for bullet Click here to Send bullet a Private Message Visit bullet's homepage! Find more posts by bullet Add bullet to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
maxj8
.primate.

User info:
Registered: Aug 2004
Posts: 76 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: ehm...
Time Online: 13:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by bullet
Grazie mille ora mi ha creato il file c.img..(sbagliavo quando scrivevo 10m lol)..cmq ora se faccio part /dev/c0d1 , mi dice No Such device or Address.

io ho modificato il file bat qemu-win e gli ho aggiunto :
-hda minix3.qcow -hbd c.img

il fatto è ke i comandi ke avete elencato sopra non riesco a farli xkè minix3 non associa il mio file c.img con la c0d1..
help plz..


-hda minix3.qcow -hdb c.img (tu hai scritto -hbd)

18-06-2007 15:08
Click Here to See the Profile for maxj8 Click here to Send maxj8 a Private Message Find more posts by maxj8 Add maxj8 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
GiKappa
Dubbioso a Progetto

User info:
Registered: Oct 2004
Posts: 1800 (0.25 al dì)
Location: Brescia
Corso: Informatica
Anno: Laureato Triennale
Time Online: 9 Days, 22:39:19 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by n3o
La quarta devi crearla estesa per costruire all'interna almeno altre due.
Selezione EXTENDED come tipo e premi m sia alla colonna Base sia alla colonna Kb così da riempire tutto il disco rimanente.
Premi > per editare la partizione estesa [salva se ti viene chiesto] .
Crea due partizioni di tipo MINIX in modo analogo alle 3 primarie precedenti.
Premi < per rientrare nella tabella partizioni principale [salva se ti viene chiesto] .
Premi q per uscire.


ciao, sto un po' smanettando sulla partizione, ma ho un problema su questo punto:

quando passo alla subpartizione e mi chiede se voglio salvare, quando digito Y mi dice "invalid partition table" e lo stesso dopo che faccio la subpartizione per tornare alla tabella principale.

così facendo non mi salva la tabella delle partizioni!

ora, visto che ho eseguito tutte le istruzioni passo per passo, secondo voi dove sbaglio? ho creato il file .img (che è corretto), ho abilitato i permessi di scrittura (chmod +w giusto?), ma non mi funziona!

20-06-2007 17:31
Click Here to See the Profile for GiKappa Click here to Send GiKappa a Private Message Find more posts by GiKappa Add GiKappa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
GiKappa
Dubbioso a Progetto

User info:
Registered: Oct 2004
Posts: 1800 (0.25 al dì)
Location: Brescia
Corso: Informatica
Anno: Laureato Triennale
Time Online: 9 Days, 22:39:19 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

posto degli screen del mio problema:

la prima immagine è prima di iniziare la subpartizione: come si vede tutto sembra corretto (dimensioni, inizio e fine delle partizioni)



la seconda è dopo che ho digitato Y: vedete che mi da un messaggio di errore e mi resetta la tabella di partizione creata



non riesco a capire dove sbaglio!:sad:

21-06-2007 11:19
Click Here to See the Profile for GiKappa Click here to Send GiKappa a Private Message Find more posts by GiKappa Add GiKappa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
n3o
tanto c'è SPASS...

User info:
Registered: Oct 2005
Posts: 134 (0.02 al dì)
Location: Brescia
Corso: Informatica Magistrale
Anno:
Time Online: 1 Day, 19:26:05: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora...si se sei sotto linux fai un bel chmod 666 sull'immagine del disco (chmod +w è ok), se invece sei su winzozz controlla che non sia settato il flag di sola lettura.
Fatto ciò dovrebbe andare anche perchè dalla tua immagine la tabella delle partizioni primarie sembrerebbe a posto...
Il messaggio di errore te lo da quando cerchi di salvare la tabella estesa giusto?
Posta l'immagine della tabella della partizione estesa prima di dare l'ok così capiamo perchè ti da quel warning che ora non mi spiego...

__________________
The answer is blowing in the wind...

Last edited by n3o on 21-06-2007 at 13:30

21-06-2007 13:27
Click Here to See the Profile for n3o Click here to Send n3o a Private Message Find more posts by n3o Add n3o to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
maxj8
.primate.

User info:
Registered: Aug 2004
Posts: 76 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: ehm...
Time Online: 13:34:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

In effetti non mi sembra che ci siano errori nella tabella come l'hai fatta tu, probabilmente il problema è proprio nelle proprietà del file .img che stai usando. (l'hai caricato aggiungendo al fil .bat di win la scritta "-hdb tuofile.img" vero?)

21-06-2007 14:13
Click Here to See the Profile for maxj8 Click here to Send maxj8 a Private Message Find more posts by maxj8 Add maxj8 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:42.    Post New Thread    Post A Reply
Pages (11): « 1 [2] 3 4 5 6 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.049 seconds (73.57% PHP - 26.43% MySQL) con 23 query.