Pagina 1 di 2

[Risolto] Problema Partizione

Inviato: mercoledì 26 novembre 2008, 21:49
da Dilbert
Salve a tutti, sto tentando di installare in una partizione Ubuntu (nell'altra ci sarebbe xp).
Seguendo questa guida ho provato a far fare tutto a lui, solo che quando arriva il momento di farmi scegliere il partizionamento, l'opzione 1, quella che è consigliata per chi ha scarsa dimestichezza, non è resa disponibile.
Allora ho riprovato, cercando di partizionare manualmente con questa guida l'hd, ma anche qui niente: la barra che rappresenta lo spazio /dev/hda non me la fa ridimensionare.

Non vorrei rischiare di fare una cavolata, qualche suggerimento? Grazie  :)

Re: Problema Partizione

Inviato: mercoledì 26 novembre 2008, 22:07
da streetcross
questo perchè evidentemente i file in xp sono frammentati all'inverosimile (come sempre) esegui quelle 4-5 deframmentazioni o magari con un tool apposito per windows

Re: Problema Partizione

Inviato: mercoledì 26 novembre 2008, 22:16
da Dilbert
Avevo pensato a questo, ma defrag dopo l'analisi mi diceva che non c'era bisogno di deframmentare. Comunque ci provo, anche perchè...vatti a fidare!

Re: Problema Partizione

Inviato: mercoledì 26 novembre 2008, 22:24
da streetcross
allora usa qualche tool apposito, infatti il programma incluso non sposta tutti i file...

Re: Problema Partizione

Inviato: mercoledì 26 novembre 2008, 22:40
da Dilbert
ok, ora provo con Ashampoo WinOptimizer, ti faccio sapere se mi fa partizionare.

Grazie dell'aiuto!

Re: Problema Partizione

Inviato: mercoledì 26 novembre 2008, 22:43
da streetcross
ok di niente ciao

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 13:59
da Dilbert
ok ho risolto, tant'è che scrivo da ubuntu :)

c'è però ancora un problema (credo risolvibile): al momento del boot, non è presente winXp come scelta. Come faccio a modificare il boot?

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:03
da jerico
da terminale

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst
posta tutto il contenuto

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:05
da Dilbert
mi apre questo file:

Codice: Seleziona tutto

# 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=8ffcc59c-9071-43c4-8419-f3e6bedb302d ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=8ffcc59c-9071-43c4-8419-f3e6bedb302d

## 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.10, kernel 2.6.27-7-generic
uuid		8ffcc59c-9071-43c4-8419-f3e6bedb302d
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=8ffcc59c-9071-43c4-8419-f3e6bedb302d ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid		8ffcc59c-9071-43c4-8419-f3e6bedb302d
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=8ffcc59c-9071-43c4-8419-f3e6bedb302d ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, memtest86+
uuid		8ffcc59c-9071-43c4-8419-f3e6bedb302d
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
spero che si possa recuperare windows, anche perche non mi ci fa entrare qua da ubuntu e non posso recuperare i dati :(

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:08
da jerico

Codice: Seleziona tutto

sudo fdisk -l

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:10
da Dilbert
mi lancia a video questo:

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1549f232

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      19797  159019371    7  HPFS/NTFS
/dev/sda2          19798      19924    1020127+  82  Linux swap / Solaris
/dev/sda3          19925      24321    35318902+  83  Linux

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:11
da jerico
hai partizioni,1 con win una con linux giusto?

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:15
da Dilbert
si, ho usato la guida per fare la partizione manualmente, questa .

poi ho installato ubuntu e ho riavviato, ma niente win da selezionare. inoltre non mi fa entrare nella partizione in cui è presente windows...

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:20
da jerico

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst
nel file che ti si apre incollaci in fondo a tutto,questo

Codice: Seleziona tutto

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Windows Xp Home Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1
poi vai nella parte in alto del file, nelle prima quindicina di righe,dove trovi scritto timeout    3,al posto di 3 metti 10,così ti allunga un po il tempo prima dell'autoavvio.
poi salva tutto chiudi,riavvia.
vedi se grub ti da anche windows e se,selezionandolo ,si avvia o no

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:24
da patel
Puoi anche fare a meno di copiare le righe

Codice: Seleziona tutto

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root
e mi raccomando aggiungi il carattere # davanti alla riga hiddenmenu (altrimenti nascone il menù)

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:25
da jerico

Codice: Seleziona tutto

Puoi anche fare a meno di copiare le righe
volevo essere preciso

edit:

Codice: Seleziona tutto

e mi raccomando aggiungi il carattere # davanti alla riga hiddenmenu (altrimenti nascone il menù)
non l'avevo visto  :-[

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:26
da streetcross
patel ha scritto: Puoi anche fare a meno di copiare le righe

Codice: Seleziona tutto

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root
e mi raccomando aggiungi il carattere # davanti alla riga hiddenmenu (altrimenti nascone il menù)
bhè i commenti non fanno mai male  ;)

direi che 5 al posto di 10 può bastare  ;)

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:30
da jerico

Codice: Seleziona tutto

direi che 5 al posto di 10 può bastare
nel caso uno sia pigro! ;D

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:37
da Dilbert
Si, sono abbastanza pigro!

Grazie mille a tutti dell'interessamento, ho risolto e sono proprio contento  (good)

Buon giornata!

Re: Problema Partizione

Inviato: giovedì 27 novembre 2008, 14:39
da jerico
bene!
metti risolto all'inizio della discussione allora! (good)