1
Asentaminen ja käyttöönotto / Vs: Windows XP x86 asennus Ubuntu 9.10 ja Windows 7 x64 Rinnalle samalle kovolle
« : 12.04.10 - klo:14.31 »
Kiitoksia, tosin kerkesin jo poistaa kaiken ja asentaa xp -> w7 -> ubuntu, parempi näin.
Ubuntu 24.04.3 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelut
Valmistajien tukemat Ubuntu-tietokoneet: kannettavatietokone.fi uudet ja käytetyt sekä Lenovo-verkkokauppa
Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.

ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sda as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda
(hd1) /dev/sdb
root@ubuntu:/#

harha@harha-linux-ubuntu-x86:~$ sudo os-prober
/dev/sda1:Windows 7 (loader):Windows:chain
ls: tiedostoa /media/MEMORY ei voi käsitellä: Tiedostoa tai hakemistoa ei ole
harha@harha-linux-ubuntu-x86:~$
Ei tässä sinänsä mitään koska saan kaikki tiedot talteen ubuntun kautta, mutta kova homma tässä taas on jos pitää alusta alkaa asentelemaan, eli apua kehiin jos joku tietää miten saada vielä kaikki toimimaan.
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2289e222
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 95426 766400044 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 95426 108479 104852944 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 108480 121601 105402465 5 Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5 108480 121062 101072916 83 Linux
/dev/sda6 121063 121601 4329486 82 Linux swap / Solaris
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd04ac793
root@ubuntu:/# cd /
root@ubuntu:/# dir
bin dev initrd.img lost+found opt sbin sys var
boot etc initrd.img.old media proc selinux tmp vmlinuz
cdrom home lib mnt root srv usr vmlinuz.old
root@ubuntu:/# grub-install /dev/sda5
/dev/sda5: Not found or not a block device.
root@ubuntu:/# grub-install /dev/sda6
/dev/sda6: Not found or not a block device.