Debian Installation :: Install Grub On Master Bootloader / If Installation Is Going On Separate Hard Drive?
Feb 5, 2010
I am helping my pal to get into Debian (yes first timer).He is running W7 on a 500G SATA HDD and he has another 250G SATA HDD that he wants Debian to go to.Will Debian install grub on the master bootloader even if the installation is going on a separate hard drive?I have dual boot before but on the same hard drive.
I have an issue after the installation of debian 8.2 on an usb flash drive:
I had debian 8.2 and windows 8.1 running on a single SSD. Everything was fine. I wanted to install a second debian on a 32gb USB flash drive as a live system. After the installation I am not able to boot my debian (SSD) without the flash drive plugged in. I only get a grub rescue prompt. Booting windows still works. It is also possible to boot both debian systems if the USB drive is plugged in.
So it seems to me, that the debian bootloader was accidently installed to the USB flash drive and the original bootloader on the SSD does not work properly anymore. I used a netinst image from a second USB flash drive to install debian to the first USB flash drive.
Update fdisk output:
/dev/sda1 2048 2050047 2048000 1000M Windows recovery environment /dev/sda2 2050048 2582527 532480 260M EFI System /dev/sda3 2582528 4630527 2048000 1000M Lenovo boot partition /dev/sda4 4630528 4892671 262144 128M Microsoft reserved /dev/sda5 4892672 223840255 218947584 104,4G Microsoft basic data
I'd like to install Lucid on a spare hard drive I have, so I can do my bit for testing it. I have a feeling that if I just burn the latest alpha .iso and install from that, it will replace my current GRUB, whereas I would prefer to simply add the Lucid install as an option in my current GRUB.
Of course I might be wrong, I just wanted to check before I went ahead with it. I was unable to find the info I needed via searching.
I'm a Linux college course student and can't et help from my "instructor". As part of my class, I've installed Fedora 12 on a secondary hard drive. I don't know the first thing about Linux and am totally lost trying to get back to my other hard drive to access the Windows XP OS. All my stuff for the courses I'm taking this summer are stored THERE. Can anyone help me with very simple, easy to follow instructions for how to get back to Windows AND also have access to Linus on the secondary drive?
I've been running Debian Lenny kernel 2.6.26 w/ desktop kde3.5 on my laptop for a while, and im going to take a trip in which i will be unable to take wmy laptop with me. However, where i am going contains computers and i figured if i could install debian onto my external harddrive, i could just boot onto the other computers. I install it using the debianlenny-i386 dvd image. However whenever I try to boot it from a computer. Grub returns
Code: Grub Loading... Error 21 and then the blinkng cursor. On one site i found something saying "you may need to activat the drive" and some command-line instructions on how to do it. However the commands have faded from memory and i am now unable to find that site again. Could anyone offer insight on how to fix this "grub error 21" or how to activate it. I run primarily debian but i have a windows partition on one of my relative's computers. Thank you in advance for the help!!! btw I'm installing on a western digital 500gb "passport" external hard drive with ext3 and swap partitions.
I just tried to install F13. I can't install grub to any drive other than that which F13 gets installed on. When I click on the drop-down menu, only /dev/sdd is available.
I would like to have 1 hard drive operate with Ubuntu 10.04 and another with Windows 7 Pro, with a proper boot selection menu when I boot up my computer.
I have Windows 7 x64 on a RAID0 Setup and have a separate 120GB Hard Drive and want to DualBoot with Ubuntu! How do I go by doing that seeing that LiveCD is not detecting Windows 7 Loader? Twitpic : [URL]
I've just installed a second hard drive in my laptop with windows 7 on one drive and Ubuntu on the other. I selected the side-by-side install in the Ubuntu install and let Ubuntu do the rest. Unfortunately Grub isn't seeing the windows install even after reconfiguring grub. However, the windows 7 drive is visible in Ubuntu and all the windows files are there intact.
Does anyone know how I can make grub see Windows 7 so I can boot into it?
I have an HP Elitebook 8540w with 500gb hdd running win7.I plan to replace my blue-ray drive with an ssd using a hhd caddy. The problem is that i want to keep my first hdd (win7) as it is, and install on the new ssd 2 operating systems:win10 and debian 8.
I am trying to install Debian onto an IBM ThinkPad 240X. The 240X will only boot from either an internal IDE hard-drive, or an external floppy-drive. For now, I have decided to ignore the option of using the floppy drive. I have other computers to support the process, an IBM ThinkPad T43p (Pentium M) as well as my primary laptop, a ThinkPad X200s (Core2 Duo). I have tried installing the hard-drive to be used into the T43p, then booting the Debian NetInstall from a USB thumb-drive, installing as usual, then transferring the hard-drive into the 240X. This does not completely work; GRUB and LILO will load, but the computer freezes very early (almost immediately) in the boot process.
Please note, I am trying this on a CF card. The 240X has an IDE-CF adapter, and my X200s has a USB-CF reader.So, I want to try to load the actual Debian Net Install on the 240X. Ideally, it will happen something like this; I will partition the hard-drive into these 2 partitions:
sda1: the Debian Net Installer sda2: an empty partition waiting to have Debian installed onto it URL...
but the part I do not understand is how to get GRUB or LILO installed onto the CF card. I am wary of running commands such as "grub-install" as I do not want to mess up my GRUB install on the computers this command would be run from. If I run a command such as this, I would want it to ingore everything about the computer it is being run from, and only modify files or install onto the CF card. I would not want it to acknowledge the computer it is being run from as far as available installs, architecture, etc.
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.
“toshiba satellite u840w with hard disk drive and a solid state disk cache”
Debian 8 installer does not detect the hard drive during installation
I've recently tried to installed Debian 8. The problem is that the partition menu gives me these 3 options: 1. Configure iSCSI volumes 2. Undo changes to partitions 3. Finish partitioning and write changes to disk
There are no options for defining partitions or any hard drive during installation. After searching the internet i found that the problem because the solid state disk SSD cache. How I install a Debian 8 with computer which has a hard disk drive and a solid state disk cache.
more info: I want windows 7(64) and debian dual boot
I would like to build an oem style install partions that is bootable with menu to choose if I want to run install or boot already installed system. I would like to include current source packages on the same dive so if I don't have internet access at time of install, can can still install what I need.I know with Windows Vista and Windows 7, you can get this but how can I do this with Debian?
I am trying to install Ubuntu to an external usb hard drive (WD Elements SE). I am also choosing to install the grub bootloader to this disk (/dev/sdb) because I do not want anything modified on the internal drive. The installation appears to go okay, but when I try to boot to the usb drive, I get the error, "no boot sector on usb device" and it immediately falls back to my interal drive. I have tried this installation with both 10.10 (amd64) and 11.04 (amd64). How can I fix this?
I am taking a course to truly learn Linux and am attempting to install Slackware 13.X to a separate USB hard drive. The intent is to keep Windows while learning Linux, and all I have to do is insert the USB drive when needed. I am using cfdisk and have no difficulty getting to the point where it wants me to partition the hhd. However, whether I have the USB connected or not, it will always present the HDA for partitioning. How do I tell cfdisk to recognize and set partitions on the USB hard drive? (i.e.) What is the command?
I have spend way too much time on this and it still fails. I installed the debian 8.3.0 AMD64 CD1 iso image on an empty external USB 1TB Western digital My passport Ultra. I use the graphical install method and the installation process of Debian appears to go fine, except it informs me at one point I am missing some nonfree firmware for something with wifi, but that shouldn't relate to this.
*FYI I put GRUB on the external hdd, sdb in this case. *windows 7 is on the internal hard drive and I excluded it from the boot sequence * using laptop lenovo t410
I reboot my computer and it hangs with a flashing - in the upper right corner. Never even gets to GRUB. For awhile I thought I might have partitioned something wrong, but I am now convinced that isn't likely. I tried countless number of different partition configs. Separate /boot partition and I also tried using guided partitioning.
I mounted the partitions of the external hard drive using another OS and GRUB appears to be there. So it is there.
I know some Western digital hard drives have added priopertary firmware crap, so I tried installing on a external Seagate drive and it still hangs. I tried installing linux mint on the Western Digital drive and it works fine!
BIOS settings fine. USB settings fine. I tried booting via the boot menu and moving the USB HDD to the top of the list.
I also tried installing with Debian Live on a USB, but that actually has more problems for some reason. I can never get passed the partitioning phase because it fails to create /boot or /swap partitions saying something about how they are still in use and another thing about how the partition table hasn't been updated in the kernal yet.
It seems I might be having this same issue, not sure: [URL] ...
The hardware is a psystar box with 2 drives for os x and ubuntu respectively. I attempted install of ubuntu over older version of xubunut without physically disconnecting the os x drive After install I could not boot into either system. THEN I remembered something about the install problem that 10.4 has and installed ubuntu again, this time following the instruction regarding booloader install. Now I can boot ubunut fine, but of course when I select drive holing os x it hangs on 'Verifying DMI pool data....' I've been looking at some thread on here about dual boot problems with Win7 and such, but are any of the recommended diagnostic and repair steps relevant to my case, specifically testdisk and bootinfo scripts?
Basically I had windows 8.1 running on my fujitsu lifebook A532 laptop and wanted to dual boot kali linux alongside it, however upon installing the linux it deleted EVERYTHING! on my laptop, the grub bootloader only showed kali linux to choose from...
I then decided kali linux is too complicated for me and decided to delete everything and reinstall windows 8 again however I was surprised that my bios screen looks diffrent also I can not edit the boot sequence.
If I press f2 or f12 it takes me to a screen with a tab named Boot menu and its written on it debian and every time I press enter on it it takes me back to this same screen...
I installed Debian on my PC and then installed Ubuntu. This worked fine and I could dual boot between the two. The PATA disk was /dev/hda on debian and (I think) /dev/sda on Ubuntu. I copied the entire disk to a sata disk using dd from knoppix and put the PATA one to one side. Now the Ubuntu comes up fine but when I boot debian, it complains about references to /dev/hda1, which is present in grub - root=/dev/hda1. Debian now expects sda references rather than hda references. How do I persuade Ubuntu to write /dev/sda1 to the bootloader rather than /dev/hda1 using grub-mkconfig?
I've been reading and searching the forums here and most of the problems I have read about stem from writing the grub2 to the MBR of the primary drive. So i'm trying to avoid these problems if possible. Heres what I'm trying to achieve. I have two seperate hard drives in my PC, on the first is Vista Home Premium 64bit. The second drive is now completely empty and has just been reformated to NTFS with the standard 4096 setting.
I would like to install Ubuntu 10.10 and grub2 onto the second drive so that nothing is written to the primary drive at all. In a thread I read it mentioned that to do this I would need to use a "Specify Partitions Manually (Advanced)" option. My thinking is that I can just use the same process I'm using to run Ubuntu from a dvd disk to start Ubuntu once installed on the second drive. The process is an F10 "Boot Menu" when the computer is first turned on just before it starts to run Vista.
So my question is about the advanced installer options. Is there a walkthough available anywhere? (with screenshots maybe). I'm just worried that something may come up in the advanced installer that I have no knowlege of. I can re-format the second drive again from within Ubuntu running from disk if I need to (NTFS???). Also when running Ubuntu from disk I can still see the main primary drive and all its files. It would be nice to have this option but its not essential. My system. Windows Vista Home Premium 6.0.2002 SP2 Build 6002. 64 Bit, Intel Q8200 Quad core, 8GB Ram, Nvidia 9600GT 512MB
I have created usb stick from which I install fedora. The bootloader is on the MBR of the usb stick and I want to put it onto the harddrive.I have tried running grub and setting up the MBR on the hard drive, but attemts to load the kernel fail with "Error 15: File not found".
I have a dual boot machine windows xp & Ubuntu 10.04. I want to use Grub 2 to boot an Ubuntu 8.04 32bit live cd image off my hard drive. I put a copy of the 8.04 iso in a new directory /boot/iso. I added the following lines to my grub.cfg.
menuentry "Ubuntu Live 8.04 32bit" { loopback loop /boot/iso/ubuntu804.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu804.iso noeject noprompt -- initrd (loop)/casper/initrd.lz }
install fedora 11 on Vista I want to keep the windows boot loader and also install on a usb drive or a seperate partition that has 10GB free "install doesn't see partition's". Recently I installed ubuntu and had a major problem with booting, without having the usb drive connected I couldn't boot windows so uninstalled it. I'm trying to install now but install does'nt give me any option to select partitions from my drives one 320GB "portable, 3 partitions" and 80GB "main os 2 partitions one partition has 10GB free"
I have 6 hard drives that have 9.10 and 10.04 on them. Not as a dual boot, but some hard drives have different versions on them. When I have plugged the drives in a couple of weeks later, the grub is gone and system will not boot. I get like a grub 1.5 error and that is all the options I have. Does anyone one know why this happens? Nothing on the drives but the O/S to get rid of windows. All drives worked perfect until they were removed and installed later.
Upon installation of Ubuntu a while back, i was using a windows xp machine with two different harddrives. Instead of formatting the xp drive and installing Linux, i decided to install Linux on the secondary harddrive. This worked all fine and dandy until recent, when I have found my linux drive filling up near capacity. I would like to format the XP harddrive and mount it in linux to give some more disk space. The problem i have found, is that the XP drive is the drive with GRUB.
I have a HP Compaq 6710b notebook with W7 on it. I want to use Ubuntu for hobby activities, but as this is a company notebook, W7 should remain intact. I decided to install Ubuntu to an external drive.I set BIOS boot order to CD-USB-HDD.I attached a 2.5" 250GB WD Passport usb hard disk and installed Ubuntu to it from the CD.As a result, the clean install doesn't boot, I get a mere grub console (normal, not rescue).
Examining the situation I learned, that during Live CD session the inner hdd is hd0 and usb drive is hd1. Grub.cfg gets compiled to use /dev/sdb.When booting from usb drive, BIOS makes it to be hd0 and inner hdd becomes hd1 so grub tries to load kernel from W7 partition (and can't find it, I wonder why? )How to fix problem? Although grub.cfg is supposed not to be edited, may I change every sdb to sda in it?
i've been using ubuntu with wubi, and I'd like to install it on my new hard drive (so windows is on one hdd and ubuntu is on another). afaik, grub will be installed on the hdd w/ ubuntu, and i have to set it to recognize the other (windows) hdd. assuming that i want to get rid of ubuntu and just use windows, what steps do I have to take to do so? (if grub is only on the ubuntu hdd, then would I just have to format it?)