Fixing Grub After Installing Dreamlinux OS

  • Thread starter ForMyThunder
  • Start date
  • Tags
    Master
In summary, the Dreamlinux OS installs grub to the Master Boot Record, but the menu loads slower now than it used to. If you delete the partition containing Dreamlinux, that would affect the grub bootloader. To edit the menu.lst file from Linux Mint or Ubuntu, you would need to be logged in as root on the Dreamlinux partition.
  • #1
ForMyThunder
149
0
I installed the Dreamlinux OS and chose the option to write grub to the Master Boot Record during installation and now the grub menu loads slower than it used to. If I were to delete the partition containing Dreamlinux, would that effect the grub bootloader? Also, I want to be able to edit the /boot/grub/menu.lst file from Linux Mint or Ubuntu (doesn't matter which) instead of having to log into Dreamlinux, so how would I go about doing this?
 
Computer science news on Phys.org
  • #2
Do you mean it takes longer to load the menu or the menu stays up for longer?
There is a setting in the grub menu.lst to set the timeout

If you delete the partition grub won't be able to run, there is only 256 bytes in the MBR, it's mostly just a pointer to the partition with the grub program installed.
You can mount the existing partition and edit menu.lst from any linux boot disk
 
  • #3
mgb_phys said:
There is only 256 bytes in the MBR, it's mostly just a pointer to the partition with the grub program installed.
The MBR is just the first sector on the first "active" disk in the boot list. It's 512 bytes long. The BIOS just reads this into memory at location 7c00 (hex), and jumps to the code at 7c00.

Microsoft partition sector code typically relocates itself to 600 (hex) in memory, scans partitions in it's list for a boot sector, then reads that in at 7c00 (hex), repeating the boot cycle. Eventually the code reads in some type of loader, Dos and Win9x loading MSDOS.SYS and IO.SYS, or for Windows 4.0 or later NTLDR.

During install of NT 4.0 or later, any active 16-bit OS boot sector is backed up into a 512 byte file called something like BOOTSECT.DOS. On a multi-boot system, if the user chooses a Dos or Win9X parition to boot from, NTLDR will read in BOOTSECT.DOS into 7c00 and continue the boot process. Win98 will rename betwewn two versions of MSDOS.SYS and IO.SYS between DOS and Windows version if you use it's menu to reboot in MSDOS mode.
 
Last edited:
  • #4
mgb_phys said:
You can mount the existing partition and edit menu.lst from any linux boot disk

Alternatively, you can use grub to chainload Mint or Ubuntu. Then you can just use Ubuntu's menu.lst file.
 
  • #5
mgb_phys:
The grub menu takes about 6-8 seconds to load, where it used to take 1-2 seconds. When I try to mount the partition and edit the menu.lst file, it says I need to have administration capabilities to edit it. I take that to mean I need to be logged in as root on the Dreamlinux partition.

How can I edit the MBR to point to a different partition?

daniel_i_l:

I have no idea what chain loading is much less how to do it. Could you offer me a website or something that would give me a definition and instructions?
 
  • #6
Yes you need admin to edit boot.lst, you could boot from a live CD and then mount the partition if you don't have the password.
You can reset the MBR using either the tools in linux or there is a restore option in fdisk (something like fixmbr?)
Alternatively you can use a windows CD, select rescue mode and there is a fixmbr command.

Then you can set any partition to be active, in windows use the control-panel->admin tools->local disk admin, select a prtition and set active.
In linux use fdisk /dev/sda (or whatever) and use the a command to toggle active paritions - note only one should be active.
 
  • #7

Related to Fixing Grub After Installing Dreamlinux OS

1. How do I fix Grub after installing Dreamlinux OS?

After installing Dreamlinux OS, you may encounter issues with Grub, the bootloader. To fix this, you will need to boot into a live CD or USB of Dreamlinux OS and use the command "sudo grub-install /dev/sda" in the terminal. This will reinstall Grub and allow you to boot into Dreamlinux OS.

2. Why did my Grub get messed up after installing Dreamlinux OS?

Sometimes, when installing a new operating system, the installation process can overwrite the Grub configuration, causing issues with booting. This is why it is important to use the command mentioned above to fix Grub after installing Dreamlinux OS.

3. Can I use a different bootloader instead of Grub?

Yes, you can use a different bootloader instead of Grub with Dreamlinux OS. However, you will need to manually configure it to recognize Dreamlinux OS as an operating system. It is recommended to use Grub as it is the default bootloader for Dreamlinux OS and is more user-friendly.

4. Will fixing Grub affect my other operating systems?

Fixing Grub should not affect your other operating systems. However, it is always recommended to backup important data before making any changes to your system, just in case.

5. I still can't fix Grub after trying the recommended methods. What should I do?

If you are still having trouble fixing Grub after trying the recommended methods, you can seek help from the Dreamlinux OS community forums or contact the official support team. They will be able to provide you with further assistance in fixing Grub and any other issues you may be experiencing with the operating system.

Similar threads

  • Computing and Technology
Replies
5
Views
473
Replies
2
Views
2K
  • Computing and Technology
Replies
21
Views
2K
Replies
2
Views
5K
  • Computing and Technology
4
Replies
123
Views
15K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
958
  • Computing and Technology
Replies
24
Views
7K
Replies
2
Views
1K
Replies
2
Views
3K
Replies
2
Views
4K
Back
Top