انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: farshid-foss در 19 اردیبهشت 1391، 09:49 بظ
-
درود بر همگی
من اوبونتو 11.04 و ویندوز 7 رو روی سیستمم نصب داشتم. بنا به دلایلی مجبور شدم ویندوز رو دوباره نصب کنم. همونطور که میدونید نتیجتا گراب جاش رو به بوت لودر ویندوز داد.
الان با توجه به آموزشهای موجود در ویکی این سایت هر طور پیش رفتم نتونستم گراب رو نصب کنم.
ناگفته نمونه من دو تا هارد دارم روی یکیش اوبونتو نصبه و روی دیگری ویندوز
این خروجی دستور sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfc2dfc2d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 52434943 26216448 7 HPFS/NTFS/exFAT
/dev/sda2 52436221 976751999 462157889+ f W95 Ext'd (LBA)
/dev/sda5 52436223 157308479 52436128+ 7 HPFS/NTFS/exFAT
/dev/sda6 157308543 367037054 104864256 7 HPFS/NTFS/exFAT
/dev/sda7 367038464 576761855 104861696 7 HPFS/NTFS/exFAT
/dev/sda8 576765693 786494204 104864256 7 HPFS/NTFS/exFAT
/dev/sda9 786494268 976751999 95128866 7 HPFS/NTFS/exFAT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 20.4 GB, 20415675904 bytes
255 heads, 63 sectors/track, 2482 cylinders, total 39874367 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 39874366 19937183 ee GPT
اینم خروجی دستور
sudo grub-install --root-directory=/media/ /dev/sdb1/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.
پیشاپیش ممنون از راهنماییتون
-
گراب روی پارتیشن نصب نمیشه. روی خود دیسک نصب میشه. دستور رو به این صورت استفاده کن:
$ sudo grub-install --root-directory=/media/ /dev/sdb
-
درود بر همگی
من اوبونتو 11.04 و ویندوز 7 رو روی سیستمم نصب داشتم. بنا به دلایلی مجبور شدم ویندوز رو دوباره نصب کنم. همونطور که میدونید نتیجتا گراب جاش رو به بوت لودر ویندوز داد.
الان با توجه به آموزشهای موجود در ویکی این سایت هر طور پیش رفتم نتونستم گراب رو نصب کنم.
ناگفته نمونه من دو تا هارد دارم روی یکیش اوبونتو نصبه و روی دیگری ویندوز
این خروجی دستور sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfc2dfc2d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 52434943 26216448 7 HPFS/NTFS/exFAT
/dev/sda2 52436221 976751999 462157889+ f W95 Ext'd (LBA)
/dev/sda5 52436223 157308479 52436128+ 7 HPFS/NTFS/exFAT
/dev/sda6 157308543 367037054 104864256 7 HPFS/NTFS/exFAT
/dev/sda7 367038464 576761855 104861696 7 HPFS/NTFS/exFAT
/dev/sda8 576765693 786494204 104864256 7 HPFS/NTFS/exFAT
/dev/sda9 786494268 976751999 95128866 7 HPFS/NTFS/exFAT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 20.4 GB, 20415675904 bytes
255 heads, 63 sectors/track, 2482 cylinders, total 39874367 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 39874366 19937183 ee GPT
اینم خروجی دستور
sudo grub-install --root-directory=/media/ /dev/sdb1/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.
پیشاپیش ممنون از راهنماییتون
الان توی این خروجی که گذاشتید لینوکس روی چه پارتیشنی نصبه ؟؟؟!!؟
-
والا خودم هم نمیدونم چی شده؟
شاید یکی اومده پاکش کرده!!!
قاعدتا باید روی sdb باشه ولی نمیدونم چرا فرمتش GPT هست؟! اصلا این چه فرمتیه؟
اینم خروجی دستور آقای بهزادی
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
-
علیالقاعده الآن باید نصب شده باشه. GPT هم جدول پارتیشن شناسهی یگانهی جهانی هست: http://en.wikipedia.org/wiki/GUID_Partition_Table
-
آقا الان ریستارت کردم دیدم بوت لودر ویندوز رفته و جاش یه پیغام به صورت grub rescue توی صفحه نمایانه
همین!!!
الان بصورت لایو (دیسک زنده) در خدمتتونم
مثل اینکه چاره ای ندارم جز اینکه هر دو سیستم عامل رو دوباره نصب کنم
-
آقا الان ریستارت کردم دیدم بوت لودر ویندوز رفته و جاش یه پیغام به صورت grub rescu توی صفحه نمایانه
همین!!!
الان بصورت لایو (دیسک زنده) در خدمتتونم
مثل اینکه چاره ای ندارم جز اینکه هر دو سیستم عامل رو دوباره نصب کنم
خروجی این دو دستور رو بذارید :
sudo grub-install /dev/sda
sudo update-grub
-
خروجی sudo grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
خروجی sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
-
خروجی sudo grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
خروجی sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
sudo grub-install /dev/sdb
sudo update-grub
-
اول از همه ممنون از راهنماییتون
اومدم بگم که MBR ویندوز رو برگردوندم و اوبونتو رو دوباره از اول نصب کردم و مشکل حل شد.
درسته صورت مساله رو پاک کردم ولی چاره ای نبود عجله داشتم.
بازم مرسی