مشكلة باختيار النظام وقت الاقلاع ..

أرسل من قبل DarkSide في الجمعة, 2007/10/19 - 2:24pm.
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

مرحبا ..
نزلت الfedora7 وعند اعدادات التنزيل الظاهر اني حطيتو انو هو النظام الافتراضي  ..

ووقت عم شغل الكمبيوتر ما بيعطيني غير ثانيتن لاختار الother systems وبعدين  بشتغل ال fedora تلقائيا ..

سؤالي كيف ممكن غير الوضع الافتراضي اني خلي النظام التاني هو الافتراضي مو ال fedora وكيف ممكن غير الوقت الافتراضي لاختيار النظام ؟؟؟

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات | قراءة: 618

خيارات عرض التعليقات

اختر طريقتك المفضلة لعرض التعليقات و اضغط "حفظ الإعدادات" لتفعيل تغييراتك.
الجمعة, 2007/10/19 - 11:22pm
صورة ReBoL

تاريخ التسجيل: 2006-06-21
مشاركات: 130

الجامعة: غير ذلك
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة برمجيات

كان لازم لما بتنزلو تختار other.

الحق لا يعرف بالرجال، اعرف الحق تعرف أهله.

 
دخول أو تسجيل لإرسال التعليقات
السبت, 2007/10/20 - 10:31am
صورة as_els

تاريخ التسجيل: 2005-02-20
مشاركات: 239

الجامعة: دمشق
المرحلة: متخرج
الاختصاص: هندسة شبكات

let your computer boot to the dos system (using dos bootable disk) then execute this command : fdisk /mbr this will return the windows as the first bootable system

 
دخول أو تسجيل لإرسال التعليقات
السبت, 2007/10/20 - 1:49pm
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

كتب as_els:
let your computer boot to the dos system (using dos bootable disk) then execute this command : fdisk /mbr this will return the windows as the first bootable system

 

نفذت التعليمة fdisk /mbr بعد ما أقلعت من الدوس بس ..

1- صار يقلع فورا من الويندوز مباشرة وما في أي خيار تاني اني اقلع من ال fedora (يعني ما فيني فوت عال fedora)

2 - كل اختصارت البرامج يلي كانت عسطح المكتب صار غير فعالة ولازم فوت عمجلد البرنامج الاساسي لشغلو ..

3- في برامج عطتني مشكلة عند تشغليلها متل الدلفي 7 و ncrediMail- وما اشتغلت وكزا برنامج صار معو نفس الشي (ما اشتغل وعطاني رسالة انو في شي خطأ ) ..
ورسايل متل (could not intialise data base, problem while bulding workSpace ...etc)

4- انا كنت منزل ال fedora7 عل ال d لهيك الاقراص يلي كانو عندي عالويندوز (c,e,f,g,,h) بس هلأ صارو ((c,d,e,f,g,,)) يعني محتويات ال e صارت بال d وf بال e وهكذا  (لهيك اختصارات سطح المكتب ما اشتغلت لانو ضلت اختصار للبرنامج بالقرص قبل التغيير)..
..

5- جربت اعمل استعادة نظام بس ما صار شي ...

فشو المشكلة يلي صارت وشو ممكن ساوي لرجع الاعدادت يلي كانت ؟؟

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات
السبت, 2007/10/20 - 7:52pm
صورة as_els

تاريخ التسجيل: 2005-02-20
مشاركات: 239

الجامعة: دمشق
المرحلة: متخرج
الاختصاص: هندسة شبكات

المشكلة متل ما انت حكيت انو تغير ترتيب السواقات عندك مشان هيك صار النظام بدور عالبرامج بالسواقة الخطأ
هلق مشكلة اختصارات سطح المكتب بسيطة ما بدها شي حود خصائص الاختصار و من ال target غير حرف السواقة للسواقة الجديدة
و مسان اقلاع ال fedora هاي بتوقع بتنحل انو ترجع تقلع من سيدي ال fedora و تعمل repair
بس أنا ما بعرف شو الطريقة لتغير الحرف لكل سواقة يعني ترجع ال g لل h و ال f لل g ..... , جرب برنامج ال Partition Magic يمكن فيه هيك خيار

 
دخول أو تسجيل لإرسال التعليقات
الأحد, 2007/10/21 - 1:19am
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

جربت اعمل ال Repair )rescue ) بس ما مشي الحال وما عطاني مجال غير اني فوت عال shell واكتب اوامر!!

هلأ متل ما قلت مشكلة الاختصارات بتنحل والبرامج المو شغالة برجع بنزلها وترتيب السواقات بتوقع ما بأثر تغييرون كتير ..

بس ضل مشكلة ال fedora كيف فيني ارجع شغلها ؟؟ في شي تعليمة ترجع ال MBR متل ما كان او شي شغلة تانية تحل المشكلة ؟؟؟؟

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات
الأحد, 2007/10/21 - 5:33am
مدير
صورة foaad

تاريخ التسجيل: 2005-07-15
مشاركات: 2795

الجامعة: دمشق
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة برمجيات

فيك تستخدم BootPart لتضيف خيار لإقلاع Linux لقائمة إقلاع ويندوز.
اقرا التعليمات الي بتجي معه منيح.

 
دخول أو تسجيل لإرسال التعليقات
الأحد, 2007/10/21 - 12:53pm
صورة as_els

تاريخ التسجيل: 2005-02-20
مشاركات: 239

الجامعة: دمشق
المرحلة: متخرج
الاختصاص: هندسة شبكات

كتب DarkSide:
جربت اعمل ال Repair )rescue ) بس ما مشي الحال وما عطاني مجال غير اني فوت عال shell واكتب اوامر!!
sure this will be a shell repair, you have to restore the linux loader (GRUB)
this will be very useful GRUB restore

 
دخول أو تسجيل لإرسال التعليقات
الأحد, 2007/10/21 - 11:08pm
عضو فعال
صورة Rammstein

تاريخ التسجيل: 2006-02-27
مشاركات: 171

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الخامسة
الاختصاص: هندسة برمجيات

Hello DarkSide.
Your case is what *NIX users call "Microsoft's arrogance"; Windows boot loader does not recognize other operating systems on other partitions, so, when you've "fixed" your MBR using fdisk (which is a naive approach) you've just deleted GRUB, and installed Windows boot loader (ntldr or whatsoever) on MBR.
However, here is what you can do to restore GRUB so you can dual boot your OSs.
insert FC7 cd/dvd, enter the rescue mode, enter the terminal and type the following:

[1] chroot /mnt/sysimage
This will change to root directory back to normal.

Now, you need to know what's the type of the interface of the drive you've installed your F7 on, type:
[2] cat /etc/mtab
it will list all mounted partitions, the string /dev/???? depending on your system, for example, I have F7 installed on /dev/sda13, all you need to know is the hard drive type and order, i.e. sda.

You're almost done, to restore GRUB back to the MBR, type:
[3] grub-install /dev/?d? (where ?d? is the name of your hard drive as I mentioned earlier).

[4] reboot, and voila! GRUB is restored.

I read from the beginning of your post that you're not comfortable with GRUB configurations, you can modify its behavior by modifying the corresponding file /boot/grub/menu.lst .
Login to F7, open a terminal and type:
gedit /boot/grub/menu.lst (make sure that you have admin privileges)
The file is self explanatory, anyways, find the following line:
default=1
This line indicates the default OS that GRUB will choose to boot when no user interaction is performed during the limited time, change the value to the one that matched the order of the preferred OS (starting from zero).
Now, check the line:
timeout=2
it means that GRUB will wait two seconds before automatically booting the default OS, change the value as you want.
You can make further customization like the name of the OS (for example: instead of "Other OS" type "Windows XP SP2"), you can also change the background, but that is irrelevant.

BTW, obviously that could've solved you problem without messing up MBR and nearly crashing your system by installing Windows boot loader as as_els said, so please as_els be more accurate about suggested solutions next times.

Good luck.

 
دخول أو تسجيل لإرسال التعليقات
الإثنين, 2007/10/22 - 2:42am
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

شكرا كتير عالردرود ..
فؤاد شكرا كتير بالنسبة للبرنامج نزلتو بس حابب اتركو خيار اخير اذا ما مشي الحال من اوامر ال shell ..

as_els بالنسبة للينك نفس مشكلتي بس وقت جربت الاوامر يلي فيه وما مشي الحال :
وقت كتبت لأعرف وين ملفات ال grub :
sh-3.2#find /boot/grub/stage1
كتبلي : No such fiel or directory

وشكرا كتير Rammstein عالرد وقدرت افهم شو صاير معي ..

ومشان الحل ..

وقت دخلت عال rescue mode عمل بحث عن systen installation كتبلي :

An error accored trying to mount some or all fo your system some of it maybe mounted under /mnt/sysimage/

بعدين فتت عال shell وكتبت :
1- chroot /mount/sysiamge
2- cat /etc/mtab <the result was:>
/dev/sda12/ ext3 rw 0 0
proc /proc proc rw 0 0

3- grub-install /dev/sda < the result was :>
/usr/share/grub/i386-redhat /stage1 : Not found

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات
الإثنين, 2007/10/22 - 6:31am
مدير
صورة foaad

تاريخ التسجيل: 2005-07-15
مشاركات: 2795

الجامعة: دمشق
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة برمجيات

كتب DarkSide:
فؤاد شكرا كتير بالنسبة للبرنامج نزلتو بس حابب اتركو خيار اخير
برأيي هي أسهل طريقة لإقلاع عدة أنظمة من Boot Loader واحد (طبعاً اذا ماكان عندك Vista لأنو وقتها رح تضطر تستخدم تنين!)

كمان متل ماقال Rammstein ياريت بالمستقبل ما تجرب تنفذ تعليمات بدون ماتعرف شو تأثيرها بالظبط Smile

 
دخول أو تسجيل لإرسال التعليقات
الإثنين, 2007/10/22 - 10:53am
صورة as_els

تاريخ التسجيل: 2005-02-20
مشاركات: 239

الجامعة: دمشق
المرحلة: متخرج
الاختصاص: هندسة شبكات

actually, I faced the same problem (lost of windows boot choice) a time ago when I was in 4th year, and I found no way at that time to return the windows boot choice, so the only way I solved is by reinstalling the MBR then the GRUB and this worked

DarkSide if u still have the problem,
as the article said you have to run grub, so search where the grub is located in your system ( /sbin/brub on my CentOS 5 ) , you can try the locate command
#locate grub : this will give u all places grub keyword found in
mostly as i said you'll find it in /sbin/grub so now to run grub
# /sbin/grub

Once started, GRUB will show the command line interface.
grub> find /boot/grub/stage1 if doesn't work try
grub> find grub/stage1
this will output something like
(hda0,0)
now set the GRUB's root device1 to the boot directory,
grub> root (hd0,0)
Once you've set the root device correctly, run the command setup:
grub> setup (hd0)
This command will install GRUB on the MBR in the first drive.
this exactly what solved my problem

anyways, I suggested what I before did for this problem, so really I didn't mean this mess, sorry guys

 
دخول أو تسجيل لإرسال التعليقات
الإثنين, 2007/10/22 - 8:09pm
عضو فعال
صورة Rammstein

تاريخ التسجيل: 2006-02-27
مشاركات: 171

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الخامسة
الاختصاص: هندسة برمجيات

The contents of mtab indicates that most file systems are NOT mounted, you should've got a relatively long list of currently mounted volumes.
Here's what you can do, first check fstab typing cat /etc/fstab, if the file is not messed up, i.e. contains all file systems you've created during installation.
Now, type fsck -p, this utility checks each file system in fstab and repairs as necessary BTW: it could take hours-
Redo the four steps I mentioned previously, if mtab still gives you the same output, try to mount these file systems manually, which is a long shot since you have to know the exact correspondence between file systems and partitions names, if you could've managed to do that, repeat those steps again.

Good luck,

 
دخول أو تسجيل لإرسال التعليقات
الإثنين, 2007/10/22 - 11:00pm
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

as_els I tried wot u wrote :
sh-3.2# locate grub <enter>
Command not found

sh-3.2# /sbin/grub <enetr>
probing devices to guess bios drivers. this may take a long time .
Error opening terminal : linux
--------------------------------------

Rammstein here wot happend with me :
sh-3.2# cat /etc/fstab <Enter>

label=/ / ext3 defaults 1 1
label=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=s,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
label=/tmp /tmp ext3 defaults 1 2
label=/var /var ext3 defaults 1 2
label=/home /home ext3 defaults 1 2
label=/usr /usr ext3 defaults 1 2
label=swap-sda13 swap swap defaults 0 0

sh-3.2# fsck -p <Enetr>
fsck 1.39 (29-may-2006)
fsck-ext3 : unable to resolve 'label=/' gh

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات
الثلاثاء, 2007/10/23 - 12:48am
مشرف
صورة ahnaqsh

تاريخ التسجيل: 2005-03-15
مشاركات: 1292

الجامعة: الافتراضية
الكلية: هندسة النظم المعلوماتية
المرحلة: السنة الأولى

Just an idea regarding restoring the drive letters, you can change drive letters using Control Panel>Administrative Tools>Computer Management>Storage>Disk Management (in Windows XP Pro).
 
I see that the guys have give you a lot of excellent advice. Very Happy This feels like the good old days when we used to spend time talking about these things. Wink
 
Just an idea, I think that fedora (apparently) does not automatically add all mountable partitions to fstab when started from the DVD. I didn't know what /mnt/sysimage was supposed to be, but after some googling I found that its the root directory of the linux partition on disk, auto detected at boot time. So grub-install didn't work because it was chrooted to /mnt/sysimage, but /mnt/sysimage was empty.
 
You probably should do like as_els said, start grub (using 'grub --no-curses' to avoid "Error opening terminal : linux", as google informs us), then go on from there. Smile

In an artificial world, only extremists live naturally -- Paul Graham

(35/165)@SVU

 
دخول أو تسجيل لإرسال التعليقات
الثلاثاء, 2007/10/23 - 2:19am
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

كتب ahnaqsh:
Just an idea regarding restoring the drive letters, you can change drive letters using Control Panel>Administrative Tools>Computer Management>Storage>Disk Management (in Windows XP Pro).

 

thx ahnaqsh I've already solved Drivers' names problem in that way

but with fedora problem it seems i won't have such good result although i tried many solutions mentioned above so if i couldn't solve this problem till 2morrow i think i will reinstall it again

Cry

 

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات
الثلاثاء, 2007/10/23 - 6:28pm
عضو فعال
صورة Rammstein

تاريخ التسجيل: 2006-02-27
مشاركات: 171

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الخامسة
الاختصاص: هندسة برمجيات

كتب ahnaqsh:
Just an idea, I think that fedora (apparently) does not automatically add all mountable partitions to fstab when started from the DVD. I didn't know what /mnt/sysimage was supposed to be, but after some googling I found that its the root directory of the linux partition on disk, auto detected at boot time. So grub-install didn't work because it was chrooted to /mnt/sysimage, but /mnt/sysimage was empty.
Actually, when entering rescue mode, it first checks for installed F7 distro then mounts the system automatically under /mnt/sysimage directory.
When you chroot /mnt/sysimage you'll reset root mounting point back to normal i.e. / instead of /mnt/sysimage/, this is the default behavior, abviously, for some reason, there was an error mounting file systems (according to mtab contents), that's why I advised Darkside to run FS check, but, alas! it doesn't work either.

Darkside, if you haven't reinstalled F7 (I hope you didn't decide to get rid of it for good! Smile), here is my final recipe, try to mount file systems manually, to do this, you need to know the label of each partitions using e2label (which I've heard about today!), for example:
e2label /dev/sda12 (enter)
/var
when you know the label of the partition, mount it:
mount /dev/sda12 /var (enter)
repeat this step as necessary, if nothing went wrong (check mtab), try the four steps I told you about first.

Good luck.

 
دخول أو تسجيل لإرسال التعليقات
الثلاثاء, 2007/10/23 - 8:44pm
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

Hello again ..
Here wot i tried 2day ..

i tried 2 upgrade fedora but i had this error :
"Error mounting device sda15 as /tmp: no such file or directory
this most likely means this partition has not been formatted

back to Rammstein's final recipe ..

i mounted the following labels Successfully : sd10(/) - sd12(/usr) - sd11(/home) - sd14(/var)

but i didn't have this success with other labels :

sh-3.2# e2label /dev/sda9 Enter
/boot
sh-3.2# mount /dev/sda9 /boot
mount : mount point /boot doesn't exist

and i tried many sd(x) with e2label but i didn't find any other labels 2 mount ..

then i tried the 4 steps u told me befor ..

sh-3.2# cat /etc/matab Enter
the result was changed and i had abt 18 lines (not only one as in the previous time)

sh-3.2# grub-install /dev/sda Enter
sh :/mnt/sysimage/sbin/grub-install :/bin/sh : bad interpreter : no such file or directory

Thx a lot guys for the ideas and if u have anything 2 try tell me 2day(b4 00:00)
cause it seems i will spend this night reinsatlling fedora7 and if i had any new surprises then Maybe i will "decide to get rid of it for good

Smile

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات
الأربعاء, 2007/10/24 - 12:10am
مشرف
صورة ahnaqsh

تاريخ التسجيل: 2005-03-15
مشاركات: 1292

الجامعة: الافتراضية
الكلية: هندسة النظم المعلوماتية
المرحلة: السنة الأولى

You know what they say, Linux is only free if your time has no value. But perhaps you should try a less trouble-making distro, like Kubuntu for instance. I never had any problems with it, but I always deleted Fedora two or three days after installing it....

In an artificial world, only extremists live naturally -- Paul Graham

(35/165)@SVU

 
دخول أو تسجيل لإرسال التعليقات
الأربعاء, 2007/10/24 - 2:31am
عضو فعال
صورة DarkSide

تاريخ التسجيل: 2005-09-28
مشاركات: 415

الجامعة: تشرين
الكلية: الهندسة المعلوماتية
المرحلة: السنة الرابعة
الاختصاص: هندسة شبكات

كتب ahnaqsh:
You know what they say, Linux is only free if your time has no value.

 

And they also said about windows :

W.I.N.D.O.W.S - Will Install Necessary Drivers, Or Won't Start.Laughing

However I reinstalled Fedora and chose other System as Default this time ..

 

سألَ الممكنُ المستحيلَ أين تسكن؟؟ فأجاب المستحيلُ: في أحلام العاجز ..
..
...Im tired of trying, im tired of lying, i know ive been smiling but inside im dying

 
دخول أو تسجيل لإرسال التعليقات