Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


GRUB MBR and restoring a partition

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
GRUB MBR and restoring a partition

I tried to install another Linux O.S along with MS and to make two Linux's and one windows.Usually when I try this GRUB losses the ability to boot the first Linux install. It did it again. I would really like to get this first install bootable again.

Here are some facts.

-I have a rescue disk , a XP installation disk and a live Ubuntu Disk.

-If I use Gparted in the second Linux install; here by refered to as the second, I can mount the lost Distro but not of coarse boot it. From here I can get all the Grub files from this install.

-If I use the Rescue disk I can get the starting and ending sectors of the second install.

-The MBR is only 64 bytes long so this should not really be a burden.

So I need to either get the last installed O.S to chain load the lost one or get the MBR to point to the lost partitions boot sector.

Something I don't understand is how grub tranforms the MBR sector info to paths to find the partitions.

Any help will be appreciated!Smilie
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
How to boot partition from Grub Minimal_BASH?
veravera
Hi, someone knows how can I boot my OS or cdrom from a Grub Minimal_Bash? :confused: sorry, Im a dummy I explain, when I start loading the OS, I get errors, and ends up in the grub bash. This is the minimal_bash and I have no idea of ​​any command. It tells me "unknow partition". The problem is...... UNIX for Beginners Questions & Answers
0
UNIX for Beginners Questions & Answers
Backup MBR an Partition Table
ccc
hi How can I backup MBR an Partition Table of SCO 5.0.6?... SCO
7
SCO
How to select correct partition and kernel argument for grub?
cqlouis
I use command-line mode of GRUB to load kernel, but I can not know how to chose the partition and kernel argument, as followed : please tell me how to do deal with , thanks!... UNIX for Dummies Questions & Answers
0
UNIX for Dummies Questions & Answers
Grub Error 17: Cannot mount selected partition.
etcpasswd
I dualboot Ubuntu and Fedora in one hard drive. Below are the scenario. First, installed Ubuntu 10.4 on the entire disk (40GiB of size). Then, shrink the Ubuntu installation to equal size to free up space for fedora. Second, installed Fedora 13 using the option "Use free space on selected...... Red Hat
2
Red Hat
Creating /boot partition & MBR concerns
worthamtx
I have 40GB HD with mepis8, swap, MBR and under flags word boot. I also have a 160 GB external with a few Linux OS, no swaps, no extended etc. I am total Linux no MS I would feel more secure by resizing that sda1 partition and creating a /boot partition with the MBR housed there. Is that a...... Filesystems, Disks and Memory
1
Filesystems, Disks and Memory
installgrub(1M)                                                                                                                    installgrub(1M)

NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader. installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub installs the stage 1 file on the master boot sector of the disk. The installgrub command accepts the following options: -f Suppresses interaction when overwriting the master boot sector. -m Installs GRUB stage1 on the master boot sector interactively. The installgrub command accepts the following operands: stage1 The name of the GRUB stage 1 file. stage2 The name of the GRUB stage 2 file. raw-device The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is /dev/rdiskette. Example 1: Installing GRUB on a Hard Disk Slice The following command installs GRUB on a system where the root slice is c0d0s0: example# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0 Example 2: Installing GRUB on a Floppy The following command installs GRUB on a formatted floppy: example# mount -F pcfs /dev/diskette /mnt # mkdir -p /mnt/boot/grub # cp /boot/grub/* /mnt/boot/grub # umount /mnt # cd /boot/grub # /sbin/installgrub stage1 stage2 /dev/rdiskette /boot/grub Directory where GRUB files reside. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5) Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always boot the GRUB in the Solaris partition regardless of which fdisk partition is active. 24 May 2005 installgrub(1M)

Featured Tech Videos