Pagina 3 di 8
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 17:58
da Dreeg
Sempre dalla Live?
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 17:59
da hellojoker
si sempre dalla live e chiudi gparted prima
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:00
da Dreeg
Fatto, eseguito il chroot /mnt
Tutto liscio per ora..
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:06
da hellojoker
ok posta il risultato blkid e di cat /etc/fstab
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:08
da Dreeg
blkid:
Codice: Seleziona tutto
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="ed053666-30bd-46e0-aacb-373e1c640e29" TYPE="ext4"
/dev/sda2: UUID="71de56e2-f891-406d-bd1b-9f8b7d923c0e" TYPE="swap"
/dev/sdb1: LABEL="Svago" UUID="D4D4B8AAD4B8906A" TYPE="ntfs"
/dev/sdc1: LABEL="Lavoro" UUID="DE7CB9CE7CB9A227" TYPE="ntfs"
cat /etc/fstab:
Codice: Seleziona tutto
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb2 during installation
UUID=13e6d668-0549-4931-bd70-c5a4aae44c49 none swap sw 0 0
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:13
da hellojoker
ok adesso nano /etc/fstab al posto di questa riga /dev/sdb1 / ext4 errors=remount-ro 0 1 metti
UUID=ed053666-30bd-46e0-aacb-373e1c640e29 / ext4 errors=remount-ro 0 1
e al posto di questa
UUID=13e6d668-0549-4931-bd70-c5a4aae44c49 none swap sw 0 0 metti
UUID=71de56e2-f891-406d-bd1b-9f8b7d923c0e swap sw 0 0
salva con ctrl +o esci con ctrl + x
Ps fai attenzione è un passaggio importante
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:18
da Dreeg
Fatto (spero).. son stato attento ad ogni carattere..
Il risultato è stato:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
UUID=ed053666-30bd-46e0-aacb-373e1c640e29 / ext4 errors=$
# swap was on /dev/sdb2 during installation
UUID=71de56e2-f891-406d-bd1b-9f8b7d923c0e swap sw $
Ho premuto poi Ctrl + O, Invio, Ctrl + X e si è chiuso
Edit:
o.O ho rifatto nano /etc/fstab per incollarti il risultato.. ma se non vedo male è tornato tutto come prima!
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:24
da hellojoker
probabilmente non hai salvato, ricontrolla poi tieni premiuto ctrl + o poi ctrl +x alla fine posta il risultato di cat /etc/fstab
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:29
da Dreeg
Avevo visto male, avevo salvato bene
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
UUID=ed053666-30bd-46e0-aacb-373e1c640e29 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb2 during installation
UUID=71de56e2-f891-406d-bd1b-9f8b7d923c0e swap sw 0 0
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:31
da hellojoker

ok adesso continua a seguire tutti i punti della guida che ho linkato prima (salta quello della partizione di boot perchè non ti serve (non c'è)) e posta il risultato di
update-grub2
Per altro potevamo accorciare di qualche passaggio ma va beh ormai
Ps prima posta il risultato di update-grub2 poi continui con i punti magari qualcosa va storto
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:35
da Dreeg
Non mi funzionano questi comandi:
Smontare tutti i dispositivi digitando:
cd ~
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt/
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:36
da hellojoker
posta il risultato di update-grub2 poi posta gli errori a quei comandi, metti tutto l'output, a sinistra se non hai fatto casino dovresti avere un #
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:38
da Dreeg
root@ubuntu:/# update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-11-generic
Found initrd image: /boot/initrd.img-2.6.38-11-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
done
root@ubuntu:/# exit
ubuntu@ubuntu:~$ cd ~
ubuntu@ubuntu:~$ sudo unmount /mnt/dev
sudo: unmount: command not found
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:39
da hellojoker
si giusto sei gia uscito dal chroot però vedo un problema non trova windows rientra in chroot con sudo chroot /mnt
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:40
da Dreeg
.. fatto, poi?
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:42
da hellojoker
dai os-prober vedi se li trova, comunque è strano dovrebbe già averli rilevati secondo me è il bios che non ne vuole sapere comunque prova
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:43
da Dreeg
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# os-prober
root@ubuntu:/#
:'( e se fosse il bios che posso fare?
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:45
da hellojoker
Scusa ma rileggendo blkid hai due partizioni con etichetta svago e lavoro che ovviamente non rileva grub, windows l'hai messo sull'unico hard disk sul quale non dovevi metterlo (sul canale ide) andava messo su sata :)
ossia andava messo o sda insieme ad ubuntu o su sdb o sdc
Non ho riletto tutto ma se non ricordo male avevi detto di avere windows o sbaglio?
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:47
da Dreeg
No, ho l'IDE libero, vuoto.. da 120Gb in IDE
Poi ho due sata (uno da 320Gb con Windows "Lavoro" e uno da 500Gb con Windows "Svago")..
Infine ho un terzo Sata da 500Gb nuovo nuovo dove ho appena spostato Ubuntu
Re: [Boot] Windows XP "Invisibile"
Inviato: giovedì 13 ottobre 2011, 18:48
da hellojoker
quindi niente windows?
se è così abbiamo fatto tanta fatica per nulla convinto che avessi windows e lo volessi avviare ....
cmq i comandi sono umount non unmount ecco perchè ti da errore