Fedora Installation :: Reconfigure Grub When Adding Disk To Machine Where Both Disks Have Own MBRs?
Mar 17, 2010
How do I reconfigure grub when adding a disk to a machine where both disks have their own MBRs? I have two volumes:Disk 1 - actually mirrored RAID-1 drives managed by ICH9R on the motherboard Disk 2 - a single drive managed by ICH9R on the motherboard, but without RAID. Disk 1 is the "old" disk containing WinXP on the first partition. The MBR of Disk 1 was created by Windows. Disk 2 was built on the machine while Disk1 was unplugged. Disk2 has Win7 on /dev/sda1 and Fedora 12 on /dev/sda7. Obviously, Disk 2 has grub installed on its own MBR.
When I plug-in both Disk 1 and Disk 2 at the same time, I would like to reconfigure grub so that it gives me the option to switch between WinXP on Disk 1, Fedora on Disk 2 and Win7 on Disk 2. (I may also want to install Ubuntu on another partition of Disk 1, but that's a separate issue.) The problem is that when I plug in Disk 1, Disk 1 becomes /dev/dm-0 and Disk 2 becomes /dev/sdc (instead of /dev/sda as when I installed it). (I don't think I can switch this order because I'm worried that Windows will become confused.) So, how do I keep all partitions the same and get them all to work from grub? On which MBR will I need to install grub? How do I configure it to see all 3-4 of my operating systems? Do I fix grub from the Fedora LiveCD?
View 1 Replies
ADVERTISEMENT
Aug 26, 2009
I currently have a clean installation of Windows on the Primary drive (13gbs) and I want to install Fedora 11 on the other (7gbs). Should I install grub on the Windows hard drive or will Windows hate on me for that? Earlier I tried installing grub on the slave with the Fedora system, but I had trouble configuring Grub in a way that it would understand and I ended up messing up the MBRs of both hard drives.
View 1 Replies
View Related
Sep 25, 2010
I have implemented LVM to expand the /home partition. I would like to add 2 more disks to the system and use raid 5 for those two disks plus the disk used for /home. Is this possible? If so, do I use type fd for the two new disks and use type 8e for the existing LVM /home disk? Or do I use type fd for all of the raid disks?
View 1 Replies
View Related
Jul 7, 2009
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
View 3 Replies
View Related
May 27, 2009
I need to add Fedora to ubuntu's GRUB Here is my fdisk -l
[Code]....
View 14 Replies
View Related
Jul 22, 2010
I have installed Windows 7 64-bit, Fedora 13 64-bit and Windows XP 32-bit. I had to install the 32-bit XP for some driver issues I have with obscure devices I own. Windows 7 and Fedora both boot with no issues but Windows XP is not the in the GRUB loader as it was installed after Fedora. I have tried adding a few entries to the menu.lst file but my attempts failed. The output of fdisk -l is here
Code:
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[code]...
View 7 Replies
View Related
Nov 5, 2009
- Off a vanilla F11 livecd install, I stuck a 3 at the end of my grub line to boot into runlevel 3. I have been doing this for as long as I can remember (since Fedora 3). However now it seems to break and gives me a GRUB error. I press e to edit, and delete the 3. BUt it still throws and error?!?!?!?! Has this facility (ie sticking a number at the end of the grub line) been changed and why is my grub line now broken even though I've gone back and deleted the 3?
- If I install Fedora 12 beta now, will yum take me all the way into production when it goes live (assuming no killer bugs encountered), I'm guessing thats a yes?
View 4 Replies
View Related
Jan 8, 2010
I cannot install F11/12 into Sata hard disk with AMD SB700 neither full installation image or live image in USB drive. It cannot find the hard disk in my machine. But all the things are working fine with F10 installation. Does anyone have the same issue
View 5 Replies
View Related
Nov 21, 2009
since i have installed the nvidia drivers i have lost the graphical boot and just had a bar at the bottom of the screen instead. i tried to get the graphical screen back by adding vga=795 to my /boot/grub/grub.conf but when i rebooted not only did i not get the graphical boot or the toolbar at bottom.
i got list of all the drivers and services it is starting with ok next to it. i have also since doing this lost the bit when restarting or shutting down getting the words restarting or shutting down and just get blank screen with flashing cursor. i removed the vga=795 and i still get the list of drivers/services loading.
how do i get the quiet option back. i have checked /boot/grub/grub.conf and it has the quiet in it.i have also tried running update-grub but get message command not found. i have attached the grub.conf file
View 3 Replies
View Related
Apr 8, 2010
I'm having trouble getting GRUB2 to pick it up in the boot menu. to clarify: Does every OS need a copy of grub? My impression was that you have one copy, and it takes care of all the OSes you have. I got to the point in my Gentoo install where it asked me to install grub, but I didn't want to mess up my boot record or anything (which there is the potential for as I'm in unfamiliar territory). I switched over to ubuntu and tried
[Code]..
View 4 Replies
View Related
May 21, 2009
I am a novice in Linux but due to my academic requirement I had to install Linux (Fedora 8). I have 2 hard disk's (80GB & 20GB), on the first HD which is 80GB I have Windows XP and the other one I partitioned and installed Linux. Now the first problem is that, whenever I start my PC I get a error which says "GRUB hard disk error", however when I restart the machine it's fine and gives me the boot options.
Secondly, the HD containing windows was affected by virus so I had to format & reinstall XP. Strangely after that I am not getting any boot options and it's like windows is the only 1 OS running. But on windows the partition on which Linux is installed in intact. So I assume something is deleted maybe the Linux boot file.
View 5 Replies
View Related
Mar 16, 2011
I'm just starting out with Ubuntu 10.10 on the desktop, (got VPS experience) and I'm running into an issue when installing Ubuntu 64bit. One that I'm unable to reproduce with the 32bit (x84/i368) disk. Just to note, the ISO's and disks have been checked with matching MBR.
I'm able to run the live CD on both versions perfectly. However when I press next after the 3th step of installation (The one in which you can choose whether you want to install updates and 3th party software or not), the Ubuntu 64 bit version stalls. Ubuntu doesn't freeze or anything, but it just doesn't seem able to go to the next step. (Partitioning)The odd thing about is that I can access the step perfectly on the 32bit disk. Now here is the question..... What could be the clarification for this issue and would it be possible to resolve it? (If so, how?)
P.S. Attached you can find a dxdiag output of the laptop. It's an Acer Aspire 7520G.
View 3 Replies
View Related
Jun 22, 2010
If I use the super grub disk I can get to my ubuntu partition otherwise my windows partition boots automatically. I spent over an hour in the community documentation using the live cd to reinstall grub and nothing has fixed it. I think that grub is installed and the windows bootloader is just taking precedence.
View 3 Replies
View Related
Apr 21, 2010
I've using win7 and 9.10 for a few months now. Today I decided to install yet another OS, but during installation a new grub was written to the mbr. Result: I can no longer boot Ubuntu.This is what my menu.lst looks like
Quote:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0
[code]....
I can see and mount my 9.10 partition just fine from the new OS, it's located on dev/sda6.And I'd still very much like to keep using Ubuntu. So, how do I go about editing this file to make it work?
View 5 Replies
View Related
May 7, 2010
I'm trying to add mandriva to grub2 and have difficulties..
Mandriva has it own boot partition on sda1 (ext3) Ubuntu boots in /boot on ubuntu's / partition which is sdb6
Mandriva / partition is: sda5 (ext4)
UUID for Mandriva boot partition is: bf53ebd1-4698-4522-ae0d-f9465aa2f0a3 (sda1)
UUID for Mandriva / is: 658bcd3e-9c69-49c9-8da1-a7e0b9723547 (sda5)
UUID for Mandriva swap is: d3bc2559-4f86-4269-bf25-c99e726c8775 (sda7)
Ive made a file which I have put in /etc/grub.d/ so each time I run update-grub2 it also includes this script.
Code:
echo "Adding Mandriva 2010.1" >&2
cat << EOF
menuentry "Mandrivas 2010.1, linux 2.6.33.3" {
[code]....
It gives error kernel panic, and something with initrd beeing shut down before completion
View 5 Replies
View Related
Jul 27, 2010
We have a server with RAID 0 with 4 hard disks on it each 250 GB. Linux kernel must find one hard disk named: /dev/sda with 1TB capacity. right? And also we have 2 partitions on sda: sda1 and sda2. We want to add another partition but we don't have enough space.
Now the problem:
If we add another hard disk and run
Code:
fdisk -l
Will the /dev/sda space incremented automatically so we can add new partitions or we must do something?
View 2 Replies
View Related
Feb 17, 2015
Installing two scsi hard disks on a debian system.
It is a physical old HP machine (netserver lc2000) with a fresh debian wheezy 7.0.8 installed.
It has two scsi hdds (73GBs) that I don't know how to add to the system so I can partition, format, mount, etc.
This is what I have tried so far:
1. dmesg output
Code: Select all# dmesg | grep scsi
[ 2.173909] scsi0 : pata_serverworks
[ 2.174377] scsi1 : pata_serverworks
[ 2.417276] scsi 0:0:0:0: CD-ROM LITEON CD-ROM LTN485S JKF1 PQ: 0 ANSI: 5
[ 2.622195] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[ 2.623194] sr 0:0:0:0: Attached scsi CD-ROM sr0
[Code] ....
2. lsscsi output
-I installed lsscsi and here is the output:
Code: Select all# lsscsi --device
[0:0:0:0] cd/dvd LITEON CD-ROM LTN485S JKF1 /dev/sr0
[2:0:0:0] disk HP Net Mirror V1.0 /dev/sda
[2:2:0:0] disk HP 9.10GB C 80-P94N P94N -
[2:2:1:0] disk HP 9.10GB C 80-P94N P94N -
[Code] ....
3. force scsi scan
-I tried to use this command to force a rescan for the hdds, but nothing happened:
Code: Select allecho "- - -" > /sys/class/scsi_host/host3/scan
-no errors, but log says nothing
-tried the above with host0 - 4, same result
4. fdisk -l
Code: Select all# fdisk -l
Disk /dev/sda: 9098 MB, 9098887168 bytes
255 heads, 63 sectors/track, 1106 cylinders, total 17771264 sectors
Units = sectors of 1 * 512 = 512 bytes
[Code] ....
5. tried to specifically add one device but it didn't work:
Code: Select all# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi
-bash: /proc/scsi/scsi: No such file or directory
View 2 Replies
View Related
Jul 16, 2009
How do I add another Windows XP SATA Hard Drive to this Grub menu, on a USB Stick?:
timeout 30
default 0
#
[code]...
View 2 Replies
View Related
Nov 10, 2009
For some reason the fedora grub didnt detect my windows recovery partition (Im on a netbook).How would I go into adding that to grub. Its on /dev/sda2
View 2 Replies
View Related
Mar 27, 2010
I have finally decided to restore grub on my netbook after installing windows 7, and I can boot into UNR just fine but the Jolicloud option is now gone. How do I add it back to the GRUB menu.lst?
View 2 Replies
View Related
Mar 29, 2010
This is no huge problem, but it is rather annoying to me. I am using the 10.4 beta, and whenever I get a large update (like a updated kernel) GRUB adds another boot option to the menu (I'm dual booting Vista and Ubuntu.) So my GRUB menu looks something like this when I turn my computer on:
GNU GRUB version 1.98-1ubuntu2
Ubuntu, with Linux 2.6.32-18-generic
Ubuntu, with Linux 2.6.32-18-generic (recovery mode)
[code]....
View 6 Replies
View Related
Mar 14, 2011
I have been helped by repo in this post [URL]..Here's a quick resume: I made changes in the grub menu for just one boot I selected the first option Ubuntu with Linux 2.6.35-27-generic edited the Linux /vmlinux ro quiet splash by adding irqpoll to the end. I rebooted and the system booted correctly into the GUI.
I then tried to edit the /etc/default/grub file by booting into the recovery mode, opening a terminal, using command sudo vi /etc/default/grub and adding irqpoll to the end of the GRUB_CMDLINE_LINUX DEFAULT="quiet splash". Followed by update-grub to update the /boot/grub/grub.cfg file
Unfortunately when I try to reboot I find that the system will not boot and hangs as before on the purple screen after a logon. I know that I have edited the /etc/default/grub file correctly because I have confirmed this by reviewing the file. So my question is why does the "one boot method" work but the edit file method not work ? I must be doing something wrong.
View 1 Replies
View Related
Feb 4, 2010
Can one install Linux on a dedicated hard disk on one machine, then move that disk to another machine and boot from it? I know Windows won't allow you to do that, but can it be done with Linux?
View 9 Replies
View Related
Aug 18, 2009
I have installed FC 11 on single SATA HDD. When I add IDE HDD grub doesn't load. I see string GRUB at top-left corner only.code...
I tried replace hd0 -> hd1 in grub.conf. But this doesn't solve problem. What I must do?
View 7 Replies
View Related
Mar 31, 2010
I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)
Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?
View 2 Replies
View Related
Apr 3, 2010
I recently installed Windows 7 on Virtual Box (running within Ubuntu Karmic 9.10), and it runs great. However I want to also add Windows 7 to the Grub Menu, so I can choose at the start between the Ever-Glorious Ubuntu and the Depressingly-Drab Windows 7.
View 1 Replies
View Related
Jan 27, 2010
I've been landed with a disk from a friend whose machine we've never managed to get into the BIOS of and tweak the boot order to include a CD drive.
I pulled the disk from my own system and ran a from-scratch install on this shiny blank disk with numerous of the tweaks I like and he'll need. (Getting pleased with how the time to usable is still dropping doing an install).
What I'm concerned about is sticking this disk in his machine and using it. I've gone with the sort-of generic 32-bit base even though both his machine and mine are Athlons. However, he's a musician and has some rather nice audio kit - as well as, I suspect, different video hardware.
Am I likely to hit noticeable problems? Is there some script I can arm myself with to rescan available hardware and update config, or can someone give a list of packages to completely remove then reinstall via the recovery boot?
I know the latter option may well cause some dependency problems that see stuff I've already installed lost - I can cope with that if I can get the GUI running smoothly.
View 1 Replies
View Related
Aug 21, 2011
I'm kinda new to Linux. My problem is that a new Fedora O/S entry is added onto grub everytime I receive an update on Fedora (I think). Eg:
Fedora 15 15.40.0-4 ...
Fedora 15 15.40.0-3 ...
Fedora 15 15.38.0-0 ...
Windows 7
How do I stop this? Ideally I'll only have two entries, Fedora 15 and Windows 7 where Windows is set as the default primary o/s to boot up. The current method I use is to fiddle around with that grub file and set default to entry 3, which used to be Windows 7 but is now a Fedora (which means Fedora is now set to default boot up).
View 4 Replies
View Related
Jan 31, 2010
I'm trying to add a new hard disk to a fedora 12 machine. I have ran fdisk - OK. when I call mkfs.ext3 it sais device is muonted but when I call unmount it sais "not mounted".
View 2 Replies
View Related
Apr 13, 2011
2 quad core 2.4ghz westmere processors
24GB of RAM
GTX 460 GPU driving two widescreens
4 each 1TB WD disks all software striped and split between two PCI express channels an SSD containing a read only Fedora14 and housing the volatile files on a software striped volume. I run the proprietary NVIDIA driver and kernel 2.6.35.10-74The machine is an engineering workstation. It seems like however the I/O channel is handled in Linux doesn't scale well to larger machines with more CPUS and more memory. When I do a disk intensive operation like copying files from one location to another the X server response becomes dismal. I've tried raising the priority of X and lowering the priority of the IO bound processes but that doesn't help. Binding processes to specific cores doesn't help either. I haven't changed the default HZ setting or the default scheduler algorithm from stock Fedora.
I have a machine with 14 cores/threads sitting idle but pi$$ poor interactive response while doing disk IO.If I set up a huge ramdisk and do all operations through it then I don't notice the bottleneck. Raw sustained reads on my stripes range from 400MB/s on outer cylinders to 250MB/s on the inner cylinders. The numbers for writes are as expected.
View 5 Replies
View Related