Hardware :: Adding Second Hard Disk With Windows To Boot With Grub On First Hard Disk
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.
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) ï¿½Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
I have a dual boot System with Ubuntu 10.04 Netbook Remix and Windows XP SP3 on an Asus eeePC 1000HE. I had some troubles with updating kernels etc. and I ended up with following problem:
After grub reinstall, I am able to boot Ubuntu, also I can mount the windows partition properly. Trying to boot into Windows, I get the error:
It's all on one hard drive which doesn't show any errors:
Partition table entries are not in disk order
Some partitions don't show a file system because they are luks-encrypted.
As I mentioned earlier, I am able to mount sda1. I think the problem is that the Partition Boot Sector is corrupted, even though I am not sure if the ntfs partition is damaged at all or if GRUB is the problem.
As I said I had problems with a kernel update and therefore had to reinstall GRUB. I think, but I am not sure, that I accidentally installed GRUB on sda1 (the windows partition) instead of on sda. After I installed GRUB on sda again, I was able to boot linux and fixed sda1 with testdisk. Before, sda1 showed as four partitions (sda1p1, ... , sda1p4). I was not able to mount sda1 till I fixed it with testdisk. testdisk says the Boot Sector of sda1 is OK, so does ntfsfix.
Finally, an extract from my /boot/grub/menu.lst:
The Windows XP entry is added by myself. I don't know much about grub, so there might be the error.
I tried to keep it as short as possible (this is only the end of the story), I hope I didn't forget anything important. Please ask if there is something not clear.
I am in Tanzania with this netbook, so it is not possible to boot Windows CD and fix the windows partition with it, also I don't have a very fast Internet connection.
Is there a way to fix this without a Windows CD? Maybe it is just a dumb mistake in the menu.lst?
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
After completing the installation of Fedora-FEL edition, I cant boot from my hard disk. "No bootable device found " error appears.
I have one Windows XP & 2 Linux installation in my disk. I tried to restore grub using "setup (...)" command.but same error repeats. Even I cant restore Windows XP using "fxmbr" command in... recovery console .
But I can boot from that drive by "chainloader" command in grub. code...
Running above command in grub terminal boots my hard disk ("hd1" is my "unbootable disk")
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code: $ sudo hdparm -I /dev/sdb [sudo] password for brian:
My system has Windows XP Pro SP2 installed on /sda1 and originally a 10.04 on /sdb1-3, now upgraded to 11.04. The Ubuntu system works fine (teething troubles with nvidia drivers on upgrade but fixed now), and the Windows system shows up in the grub menu, but when it's selected, I just get `GRUB Hard Disk Error' and nothing else. Windows installed properly, and booted successfully until I installed Ubuntu in the first place. I can still access the files on that drive from within Ubuntu.
I've tried fixboot in the Win Recovery Console, which sounded like it did something, but didn't fix the problem. This problem isn't new to grub2, by the way - I just haven't needed Windows in a year.
I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?
Is there a way to re-install grub on the master boot record of a hard disk using a live cd?If so will i have to configure it?I'm trying to install a linux distro on my ao751h(with poulsbo ) but i after installing it i can't boot.I get an error 15 or a flashing underscore.I have already tried ubuntu,debian,mint and slackware(LILO isn't compatible with poulsbo).Also,does anybody experience problems with the ubuntu 10.04 and 10.10 installers or is it only me?when i choose the language and keyboard settings the installation stop as it is and i get a crash report.
I have two systems, both having file systems running on LVM. System No 1 has 2 PATA HDD (40 and 80 GB) running linux on LVM. System 2 has a single SATA HDD (300 GB) which again uses LVM. What i was trying to do was to add the two HDD in system 1 to system 2, possibly with little or no data loss. So i connected the PATA drives from system 1 to system 2 and booted up. The system booted up to the openSUSE 11.3 splash screen and stopped after scanning the HDDs. Frankly i never expected openSUSE to try n auto mount the new drives. I think the problem was caused because both the systems had VG and LV of the same names. Can the volume group be renamed, maybe from a live CD or somthing?? System 2 is not boot able now.
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?
i come from ubuntu installation and i have had opensuse before and i remember installing any of thede two without any problem on any of many harddisk arrangement. but thge ltest opensuse 11.3 doesnt pllay nice with my windows and ubuntu installation booting. i reember using boot loader in yast and it used to load the coorect setting from scratch. but now when i chose "propose new configuration" and it founds opensuse and three other windows!
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
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.
I have windows 7 installed in my internal laptop hard disk and I have installed Ubuntu 9.10 "the Karmic Koala - released in October 2009 and supported until April 2011", on my external hard disk. The problem I am facing is that the GRUB have been installed on the hard disk, for that reason if my laptop have restarted I need the hard disk to be attached to it to load the GRUB and to log in to windows. I need guidance in moving the GRUB to my internal hard disk or return the windows boot loader in charge, so I can boot my windows without the hard disk.
I've a dual installation, ubuntu and XP and I've suddenly got a problem when I boot it gives the error "GRUB: Hard Disk Error", Tried to boot from Ubuntu live CD but I don't know how to correct grub from there. How can I correct the problem, maybe which live disk is better to correct such errors?
Consulted similar threads but couldn't find a solution for my problem as I'm booting from livecd and others were giving solution as if one can directly access the installation on hard disk, but whenever I try with ubuntu livecd it access live installation.
is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)
I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.
I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]
Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause
The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).
Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.
The workaround listed is to:
set APM to 254
Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom
The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:
My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE
ran out of space in my /home dir. Have a second hard drive to install and would like to designate it as additional space for /home. I do not want to mount it as a dir inside my home I would like it to simply work as though my /home simply has more space available to it.
I'm trying to resize a partition on an IDE hard disk to use the entire disk but can not get more than a 309GB partition. I can get 295, 300, 301, 302GB, etc... fine but start getting problems with anything over 309GB. I get the following error with 310GB or more:
error: block relocator should have relocated 533 Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. I am using Slackware 12.1, GNU parted 1.8.8, ext2 filesystem.
I installed an OS on the second hard-disk/partition3 (/dev/sdb3; OS was FreeBSD). Added the entry and when i boot: nothing. I choose the OS from grub's menu, the list of choices vanishes, the background image stays, and there it hangs. It hangs until i hit: ctrl+alt+backspace. I have thought: to hell with it, and installed Debian/Lenny. Same problem (OH!).
I also installed the boot-loader to the second disk (/dev/sdb), hit F11 after the BIOS-screen and chosen the second hard-disk to boot from: a similar problem. It hangs, and the keyboard is "dead". I am clueless what to check for (i checked the general culprits, but with UUID its all a bit of a mess. I would say it looks good, but wouldn't bet on it) Anyone ever heard of something like that? Without error message its not easy to use the amazing Google. I do a bit of grub-troubleshooting, usually it works, but usually i get error-messages.
I made two threads about it, in case they contain useful info, here they are: http://www.linuxquestions.org/questions ... sd-827059/ http://forums.freebsd.org/showthread.php?t=17021
I have an Acer aspire 1551 notebook Ubuntu worked fine until now. It will not boot. It boots until the music sounds, and the login screen is supposed to appear, then it just locks up. The strange part is that both the installed version and the USB ubuntu live version fail at the same point. I even tried two versions of Ubuntu live on USB. Windows 7 however works fine. I think something must have happened to the hardware That will not load ubuntu,but will load windows About the only thing I did different on my last session was to install wine and then install Textpad in wine.
With the generous help from caf4926 and please_try_again, i was able to boot into Ubuntu 9.10 with suse's grub legacy.Now I have another problem that i'd need help on, I added a new IDE hard drive for storage and it became sda and the original sda with 3 OSes changed to sdb. Grub can't boot into any OSes except windows 7. Well, i can still boot into Ubuntu if i change the boot option from