| نویسنده |
پیام |
wolfizzi
|
|
ارسال موضوع: Missing /boot/grub/menu.lst solved
ارسال شده: شنبه، ۲۵ مهر ۱۳۸۸
|
|
عضو شده: شنبه، ۲۵ مهر ۱۳۸۸
ارسال: 1
وضعیت: حاضر نیست
|
|
First off, congratulations on a fantastic distro. I just installed Parsix 3.0 last night and I like it very much. Now, the problem: I multiboot several linux distros, and after installation, the grub boot menu generated by Parsix did not provide entries for the other distos. Normally, this would not be a problem, as I would edit /boot/grub/menu.lst and that would solve the problem. I was surprised to find that the "menu.lst" file is not in /boot/grub/, or anywhere else as far as I can tell. Also in /boot/grub/ there appear to be about 100 little Amiga Soundtracker files with names like "acpi.mod" and "affs.mod." Are these files supposed to be there? Parsix boots just fine, but there is no menu.lst. What file can I edit to get my other distro's to boot?
Thanks for any help you can give me. |
|
|
| |
|
|
|
 |
eco2geek
|
|
ارسال موضوع:
ارسال شده: شنبه، ۲۵ مهر ۱۳۸۸
|
|
عضو شده: سه شنبه، ۲۰ فروردین ۱۳۸۷
ارسال: 54
موقعیت: Portland, Oregon
وضعیت: حاضر نیست
|
|
Parsix now uses GRUB2, which does not have a user-configurable /boot/grub/menu.lst any more. (Link goes to the Ubuntu wiki entry on GRUB2, which explains a lot more about it.) Those *.mod files you see aren't sound files; they're GRUB2 modules.
Disclaimer: I don't use GRUB2 on my main computer, and found that, when installed by the Ubuntu 9.10 beta alongside Windows XP on another computer, it wouldn't boot into Windows XP, which makes me more than a bit leery of it.
With that said, try running the commands (as root):
apt-get install os-prober
os-prober
update-grub2
which should, theoretically, find your other OS's and add them to GRUB2's menu. |
آخرین ویرایش توسط eco2geek در یكشنبه، ۲۶ مهر ۱۳۸۸; به تعداد 1 بار ویرایش شده است
|
| |
|
|
|
 |
hadian
|
|
ارسال موضوع:
ارسال شده: شنبه، ۲۵ مهر ۱۳۸۸
|
|
عضو شده: دوشنبه، ۰۱ بهمن ۱۳۸۶
ارسال: 28
موقعیت: Yazd
وضعیت: حاضر نیست
|
|
| I have the same problem. i do not want to use grub (ver.2) as my main grub, since i want to edit the grub file manually. How can i boot the parsix by adding the appropriate lines to my existing grub? |
|
|
| |
|
|
|
 |
BakUp
|
|
ارسال موضوع: Missing /boot/grub/menu.lst
ارسال شده: یكشنبه، ۲۶ مهر ۱۳۸۸
|
|
عضو شده: پنجشنبه، ۲۷ فروردین ۱۳۸۸
ارسال: 36
موقعیت: Minnesota USA
وضعیت: حاضر نیست
|
|
Unfortunately, Grub2 was released and Linux distros started using it before there was any official documentation.
The best documentation I have found is here:
https://wiki.ubuntu.com/Grub2
Of course it is just a matter of time and all of Linux will be using Grub2, when it gets to that point it will much easier for everyone.
cheers,
BakUp |
آخرین ویرایش توسط BakUp در یكشنبه، ۲۶ مهر ۱۳۸۸; به تعداد 1 بار ویرایش شده است
|
| |
|
|
|
 |
BakUp
|
|
ارسال موضوع:
ارسال شده: یكشنبه، ۲۶ مهر ۱۳۸۸
|
|
عضو شده: پنجشنبه، ۲۷ فروردین ۱۳۸۸
ارسال: 36
موقعیت: Minnesota USA
وضعیت: حاضر نیست
|
|
|
eco2geek نوشته:
try running the commands (as root):
apt-get install os-prober
os-prober
update-grub
which should, theoretically, find your other OS's and add them to GRUB2's menu.
The grub command of course should be:
کد:
update-grub2
|
آخرین ویرایش توسط BakUp در چهارشنبه، ۰۶ آبان ۱۳۸۸; به تعداد 2 بار ویرایش شده است
|
| |
|
|
|
 |
eco2geek
|
|
ارسال موضوع:
ارسال شده: یكشنبه، ۲۶ مهر ۱۳۸۸
|
|
عضو شده: سه شنبه، ۲۰ فروردین ۱۳۸۷
ارسال: 54
موقعیت: Portland, Oregon
وضعیت: حاضر نیست
|
|
Running from the live CD, you're right, it looks like "update-grub2" is the correct command. I edited my post.
Also, it looks like "os-prober" should already be installed if you installed a fresh copy of Parsix. ("os-prober" is a utility that looks for other operating systems and adds them to GRUB2, but you still have to run "update-grub2" after running os-prober.) |
|
|
| |
|
|
|
 |
BakUp
|
|
ارسال موضوع: Missing /boot/grub/menu.lst
ارسال شده: پنجشنبه، ۳۰ مهر ۱۳۸۸
|
|
عضو شده: پنجشنبه، ۲۷ فروردین ۱۳۸۸
ارسال: 36
موقعیت: Minnesota USA
وضعیت: حاضر نیست
|
|
I have been testing Grub2 for a few days now and Parsix's Grub2 has no bugs that I am able to find.
In reply to wolfizzi original post when he asked:
نقل:
Parsix boots just fine, but there is no menu.lst. What file can I edit to get my other distro's to boot ?
Boot to Parsix 3.0, to add other Linux distro's that are installed on your computer so they appear on the Parsix Grub2 boot loader menu the next time you boot up, use these commands that were discussed above:
کد:
# os-prober
# update-grub2
This works !
When "update-grub2" is executed, Grub 2 will read /etc/default/grub and the files in contained in the /etc/grub.d folder. This combination will set the visual parameters of the grub menu (/etc/default/grub) and search for linux kernels, other operating systems, and items designated in user-created scripts in /etc/grub.d.
Now, if your computer is still booting up on grub legacy from a different partition (a different distro) because you chose Parsix to be installed to a partition instead of the MBR at installation time, you can change that also so you will be using the Parsix Grub2 boot loader menu when you are booting up. Again, just boot into Parsix and use this command:
کد:
# grub-install /dev/sd?
sd? would be the drive where you have Parsix installed. Then the next time you boot up you will be seeing the Parsix Grub2 boot loader menu instead of the menu from your other installed Linux.
I hope I explained this clear enough and is able to help. |
|
|
| |
|
|
|
 |
|
|
ارسال موضوع:
ارسال شده: جمعه، ۰۱ آبان ۱۳۸۸
|
|
Forum Moderator

عضو شده: جمعه، ۰۵ بهمن ۱۳۸۶
ارسال: 399
موقعیت: Thetford UK
|
|
| I've marked this as solved |
_________________ Parsix running AMD 6000 x2 64bt, Asus mother board 8gb ram, Nvidia graphic card 1gb unboard ram, Plextor PX760, EPSON R300, 2x 500gb sata+2x 500gb usb Hardrive, Netgear, 19" DELL monitor 1600X1200 X 75hz Resolution
|
| |
|
|
|
 |
Basil
|
|
ارسال موضوع:
ارسال شده: جمعه، ۰۱ آبان ۱۳۸۸
|
|
عضو شده: جمعه، ۱۷ مهر ۱۳۸۸
ارسال: 6
موقعیت: Russia, Novokuznetsk
وضعیت: حاضر نیست
|
|
Thank you for your help!  |
|
|
| |
|
|
|
 |
|
|