- Κώδικας: Επιλογή όλων
Device Boot Start End Blocks Id System
/dev/sda1 1 1529 12281661 27 Unknown // sda1 de xrsimopoieite
/dev/sda2 * 1530 15979 116068352 7 HPFS/NTFS // kanei apo edo boot to * kai ine ta windows afto prepei na allaxi
/dev/sda3 15979 19019 24414062+ 83 Linux // apo edo prepei na kanei boot gia na trexei kanonika
/dev/sda4 19019 38914 159805441 f W95 Ext'd (LBA) // poli palio kai argo Windows 95 !!
/dev/sda5 30402 38914 68371456 7 HPFS/NTFS // alla windows
/dev/sda6 19019 19627 4882432 82 Linux swap / Solaris // swap prostethike me tin egatastasi ton Ubuntu
/dev/sda7 19627 30401 86547456 7 HPFS/NTFS // kai allo windows
Το λάθος είναι το boot partition οπότε υπάρχει και άλλη λύση την έκλεψα από εδώ http://blog.shevin.info/2007/04/messed-up-boot-loader-dont-worry.html
- Κώδικας: Επιλογή όλων
1- insert your Ubuntu Dapper Live CD and in your computer setup set the options to boot from CD (I assume you know how to boot from CD)
2- now we are in ubuntu (by live CD) , open a Terminal window (it is in menu list)
3- open a terminal and enter these commands :
Sudo Grub
find /boot/grub/stage1
this should give you a result , remember the results .
root (hd?,?)
(replace the ? with the numbers you got in the last command)
setup (hd0)
replace 0 with the hard disk number you want the grub to install to (if you don't know, don't worry just use hd0 it should work fine)
quit
now restart and you should have a boot menu for your all installed operation systems.


| Προγραμματισμός:


