Debian :: How To Config Grub After Installing Windows 10

Aug 16, 2015

I have 2 HDDs, and under linux, sda is ntfs, sdb is ext4 of debian jessie, the booting order is sdb ( it contains the grub on sdb's MBR) then sda, the windows boot loader on its own MBR.

The sda was win8, but now just formatted it and did a fresh installation of win10. After power off PC and plug the sdb up again. Turn on the power, setup the booting prior as same as above, but, the grub can not realize the windows 10 boot sector, error message is: no such device /dev/sda1... (and following a digit array) 8xxxxxxxxxxxx....

How to config grub in order to make it can dual boot both Operating System?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: How To Restore My Debian's Grub After Installing Windows 7

Sep 5, 2010

I have installed Windows 7 on my laptop . Now, it directly boot from Windows 7 . I think the MBR overwrote my grub . I have found two methods by google , but still does work .
1: boot from debian install CD, Alt +F2 switch to the console. "grub " "root (hd0,0)" "setup (hd0,0)".
2:boot from CD, mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ; chroot /mnt ; grub-install /dev/sda.

View 7 Replies View Related

Debian Configuration :: Restoring Lenny's GRUB After Installing Windows XP Elsewhere?

Feb 21, 2010

My computer initially had one hard drive, with Debian Lenny 5.0.4 installed. I haven't done any special configuration, so upon boot, I was presented with the GRUB kernel select menu, then gdm, etc. I think I used the Debian installer's 'use entire drive with LVM' configuration.

I then added a second hard drive, with the intention of installing Windows XP on it. After I installed XP on this second drive, I found out that it had overwritten the MBR on the first drive. (It was my intention do use the BIOS' F8-key boot menu to choose between the two drives, each with their own distinct boot loader. The two drives and OS's would be completely independent.)

Using my Debian installer CD, I think I have GRUB installed on the first drive again. I've found a number of tutorials which say I can use 'set' and 'linux' to boot the system, but the linux command always returns a file not found error.

I think my LVM filesystem is still intact, as the Debian installer's fdisk reports it, it can also chroot to it and my installation appears to be intact. 'ls' within GRUB shows (derek-swap_1) (derek-root) (hd0) (hd0,1) (hd0,2) (hd1) (hd1,1) (fd0) . 'derek' was the hostname I used.

I would like to simply restore the system to the way it was before: with the standard GRUB that comes with Debian 5.0.4, which then boots into the debian with my LVM filesystem. Is there a way to do this from the Debian installer CD? (I was hoping there would be a 'dummy install' command which would install GRUB and configure it properly, but leave all my existing partitions and filesystems intact.)

View 4 Replies View Related

Red Hat / Fedora :: Dual Booting SL6.1 And Windows - After Editing The Grub.config To Include Windows

Jul 2, 2011

i am having some issues with dual booting my SL6.1 and Windows. The situation is that i recently acquired an old hard drive from a non-working computer of mine with Windows already installed (i know the windows is functional, as i tested it on my new PC with SL6.1 currently installed & everything runs fine)

The problem is that after editing the grub.config to include windows, windows will no longer boot after an attempt to install a legit version of McAffee anti-virus software which coincidently was only after the first attempt at running both OS's in a dual-boot fashion. Except past the windows start up screen before the dreaded blue-screen.
Which is weird because SL6.1 OS will still boot & works perfectly fine like always, so it doesn't really make sense.

My current setup is:
Disk 1: Solid-State:
Boot Partition
SL6 LVM1: Root Partition
Disk 2: Hard Drive:
SL6 LVM2: User, Temp & Swap Space Partitions (Different LVM to Root)
Disk 3: Hard Drive:
Windows 7 Professional 64-bit

My guess is its windows MBR. The reason i say this is because the Hard Drive contents of the Windows software still appears intact when accessing the drive from the Linux OS. I don't won't to go through the rigmarole of re-installing both OS's. So hopefully their is a relatively simple solution.

View 9 Replies View Related

General :: Installing Grub On A Dual-boot RAID Config?

Sep 29, 2010

Ive created two RAID0 partitions on my drives, a 500GB and a 60GB. Im trying to install Ubuntu on the smaller partition (ive already put Win 7 on the larger one) and every time when i get right to the last part of installation it says Grub couldnt be installed. "the grub package failed to install in arget......."

View 1 Replies View Related

Debian :: GUI App - Installing System Config Samba

May 7, 2013

I use this GUI app a lot when I was using Ubuntu. Very simple to use. I want to use it in my new Debian 7 xfce install. My understanding is that I would have to build a deb from source to allow me to use this app? If this is the case, what is the best (easiest) way to do this. I saw some videos in YouTube but I'm not sure if things have changed with the new Debian 7. I have never used Debian before so if possible, go easy on me...

View 3 Replies View Related

Debian Installation :: Installing In A Triple Boot Config?

May 3, 2010

I used debian several years ago, and I'm interested in trying it out again.Right now, I have a laptop running Windows Vista and Ubuntu 9.10 in a dual boot configuration. Here is the output ofsudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
240 heads, 63 sectors/track, 41345 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

[code]....

View 6 Replies View Related

Debian Configuration :: Installing Audio Firmware And ALSA Config

Oct 28, 2015

I know very little about Debian but have an ASUS T100TA tablet which runs fairly well under Debian 8 Jessie (kernel 3.16.0-4-686-pae). I used the following guide successfully to activate the wireless but am having trouble with the audio section of it.URL...

First, I went here and downloaded the file called 'NEW T100_B.state'.URL....

Then I copied it to /var/lib/alsa/asound.state and ran 'alsactl restore' which reported that i had no soundcards.I then downloaded and expanded linux-firmware-master-intel.tar.gz but am not sure what to do with these files. I copied them to /lib/modules/3.16.0-4-686-pae/kernel/drivers/firmware as they are specific for this kernel, but they don't seem to be doing anything and 'alsactl restore' still tells me that I don't have a soundcard. What do I need to do with these files?

View 13 Replies View Related

Debian Configuration :: Grub Config For Dual Boot (Identical But Independent)

Jan 3, 2016

I have a Jessie with grub2. I've bought ssd and copied root partition onto it. I've also installed grub on this disc. I would like to have dual boot:

- First option: old root booted from hdd
- second option: boot from copied ssd and use root from it.

So i would have two identical but independent configurations.

Both disc has different uids (changed after cloning).

I had a hope that i will change fstab to mount root partition from ssd, but it doesn't work. I need to change grub configuration, but how to add new position?

There is also problem that bios doesn't allow me to choose disc to boot from. So i would rather prefer to change grub configuration for dual boot from different disc.

View 8 Replies View Related

Debian Installation :: GRUB Multi-boot Config Does Not Work On Physical Machines

Mar 26, 2016

I wrote a GRUB multi-boot configuration so I can boot multiple distributions and have storage space on one 32GB flash drive.

set imgdevpath="/dev/disk/by-label/multiboot"

Code: Select allmenuentry 'Debian Jessie amd64' {
        set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
        loopback loop $isofile
        linux (loop)/install.amd/vmlinuz
        initrd (loop)/install.amd/initrd.gz
}

This works in virt-manager when I boot the physical usb device a virtual disk with a usb bus and it works flawlessly, but when I plug it into a physical machine the cdrom detects fails to mount /dev/sdb1 as fstype=iso9660.

View 14 Replies View Related

General :: Installing Windows XP Using GRUB?

Aug 29, 2009

I have 2 hard disks. In the first one, I have installed Archlinux, with GRUB. The second one is empty. I have a Windows XP .iso file. Is it possible to install Windows XP in the second hd, without having to burn the ISO file? I don't have got any CD recorder/reader.

View 2 Replies View Related

General :: Installing The Grub In Windows?

Sep 22, 2009

I am using windows XP.I wish to install GRUB bootloader so that I can modify menu.lst & add lines to boot from an ext2 partition having iso of linux distro.One way is to use live cd & try 'sudo grub-install <device>' but I don't have live cd.I came to know about open source software 'wingrub' but I am not able to understand how to use it even after reading [URL] what should I do to install GRUB in mbr & have option to boot to c drive which has windows & another partition (/dev/sda2) which has linux.

View 5 Replies View Related

Debian Configuration :: Removing Windows From Dual-boot Config?

Apr 7, 2011

I'm currently dual-booting Squeeze & Windows XP on a machine i use frequently.

In my experience on the desktop, i now see no reason to have Windows XP as a boot option, & wanted to try & avoid a full re-installation of Debian in order to remove XP (merging it's partition with / ).

I have a checklist that i put together, but wanted to be sure this was all correct before going forward.

1. Perform full back-up of all data.

2. Boot into Debian, through GUI -

System Tools > Disk Utility

- Select HDD (80GB Hard Disk)
- Select windows partition ( /dev/sda1 )
- Format /dev/sda1 to Ext4 Filsystem

3. Boot Live CD

- Use gParted to extend /dev/sda2 (was 38GB, will extend to 78GB)

4. Remove XP from the boot menu.

( Note: My ~ folder is on the same physical drive as / (same volume), but i actually store all Media on a separate physical drive which is formatted in NTFS. I plan on reinstalling XP using a virtual hard disk, & sharing that with the virtual machine.Here is a screenshot of my Disk Utility - [URL]

View 6 Replies View Related

Fedora Installation :: No GRUB After Re-installing Windows / Get That?

Dec 20, 2009

I have windows and I installed fedora 12 on a separate partition.

However, I had a problem with my windows XP SP 3 and had to install windows. Which I did on my C drive. However, when I re-boot I on longer get the GRUB loader displayed so cannot boot into fedora.

Is there anything I can do?

View 2 Replies View Related

Ubuntu :: Installing Windows 7 Without Messing Up - GRUB

May 14, 2010

I'm thinking about upgrading my Windows Vista to Windows 7. I rarely ever use it but I figured that when I do have to use it I would rather use Windows 7.

Will it mess up Ubuntu or GRUB when I do this? Like GRUB not recognizing Ubuntu any more? I don't really know but I just wanted to ask this here just in case.

View 6 Replies View Related

Ubuntu :: Grub Uninstalled After Installing Windows

May 27, 2010

I have updated my Windows from Vista to 7. I knew that this would mess up my GRUB so that it wouldn't show on boot. However, it seems as if my GRUB has uninstalled.

I have tried to reinstall it with a Live CD but this didn't work. Maybe I was doing something wrong. I'm sorry if I'm asking a question that has already been posted but I could only find ways to make your GRUB reappear, not reinstall it.

I'm stuck with Windows 7 for a week or two now and I really want to get back to using Ubuntu!

View 2 Replies View Related

Ubuntu :: Uninstall And GRUB By Installing Windows 7?

Jun 10, 2010

I have my system set up to dual boot Ubuntu 9.10 Karmic Koala and Windows XP Pro, using GRUB 2 (1.97~beta4) as the boot loader. I want to remove Ubuntu and GRUB 2 from the system and install Windows 7 in a dual boot environment with Windows XP. My concern is to be sure that in the process of removing Ubuntu I do not make my system unbootable by removing or otherwise screwing up GRUB without replacing it with the Windows boot loader.

I read a suggestion saying that the most straightforward way to do what I want is to simply install Windows 7 and, during the install process, select my current Ubuntu ext3 partition as the Windows 7 system partition. The suggestion said the Windows 7 install process would overwrite the MBR with the Windows boot loader, effectively uninstalling GRUB 2. The Windows boot loader will find the existing XP installation and give me a choice between Windows 7 and XP at boot time. Does that scenario sound right? Would it work the way I have described it? (I know I would no longer have Ubuntu. That is OK; I intend to reinstall it later.)

For what it is worth, here is my current partition layout:

/dev/hda - 320 GiB internal hard drive
/dev/hda1 - 37.26 GiB ntfs boot (Windows XP)
/dev/hda2 - 18.63 GiB ext3 (Ubuntu 9.10 /root)
/dev/hda3 - 1.69 GiB linux-swap
/dev/hda4 - 240.51 GiB extended

[Code]...

View 4 Replies View Related

Ubuntu :: Restoring Grub After Installing Windows?

Jul 5, 2009

I had to install windows for my sister, and I had a 20gb partition there for backup ( /data/ ), and well, that's where I was going for. After reformatting and installing Windows, I try restoring grub and this is what I get:

Code: grub> root (hd0,5)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes

[code]...

Probing devices to guess BIOS drives. This may take a long time. /dev/hda: Not found or not a block device. Searching for an alternative way to install it, I found that if I 'installed' Ubuntu over my Ubuntu partition, it would automatically restore grub. But when I get to the partition tables, I get a message saying that "The computer has no operating systems on it" and it considers my hard drive as empty.

View 5 Replies View Related

Software :: Restore GRUB After Installing Windows 7?

Dec 26, 2009

have an Intel Core2 Duo system that would dual boot via GRUB between Windows Vista and Fedora 10. I recently attempted to upgrade from Vista to Windows 7, however because the version of Vista I had would not upgrade to Windows7. This has removed the ability to boot into my Fedora 10 installation. After some brief research on the Internet, I created a Live CD of Fedora 12, and booted into that. Accessing the terminal I tried typing:

[liveuser@localhost ~]$ su root
[root@localhost liveuser]# grub

Probing devices to guess BIOS drives. This may take a long time.

GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB

[code]....

Error 15: File not found

What is needed so I can restore GRUB on my system and boot into Fedora again?`

View 11 Replies View Related

General :: Reinstall GRUB After Installing Windows Vista?

Sep 1, 2010

I had two OS in laptop windows vista and linux mint and when I used to start my computer I used to get different option for os like linux mint, linux mint memory check, windows vista etc.. but because of virus windows vista got crashed so I formatted disk drive C: which were containing windows vista and reinstalled fresh copy of vista.. but now when I start my computer vista start automatically, I do not see GRUB options to run windows os or linux mint..Is there a way to reinstall GRUB to get options like I used to get before formatting ?

View 1 Replies View Related

Ubuntu :: GRUB Lost After Re-installing Windows / Stop It To Do So?

Jun 9, 2010

I need some help getting GRUB back after re-installing Windows. Now I don't have access to my ubuntu partition and the installation disk

View 7 Replies View Related

Ubuntu :: Install And Configure Grub After Installing Windows?

Nov 29, 2010

I installed in ubuntu 10.04 in my laptop
yesterday i needed windows and had to install it
so right no am unable to boot in ubuntu without my live cd
when i was installing ubuntu eather unchaked to install the bootloader or i installed it not on partition but starit on the drive on the /sda
am able to boot in my ubuntu with the live cd by typing in parameter :grub.
i really need grub boot loader in this computer to be able to chose to boot in windows or ubuntu
i tried couple of instructions and always goat some headache.

View 2 Replies View Related

General :: Windows XP Won't Boot With Grub After Installing Ubuntu 8.04?

Jul 8, 2009

I am completely new to Linux as of today.I finally took the plunge and downloaded and installed Ubuntu 8.04 on my Windows XP computer (dual boot), using the Ubuntu installation wizard to "make room" on my hard drive for Ubuntu by creating a separate partition. The installation finished successfully and Linux boots just fine, but Windows XP will no longer boot at all.

I have read many threads on this and other sites, giving advice of how to correct this problem. I am not at all experienced in editing and working with different ways of booting (other than Windows default). But after some frustration, I located (according to the threads) a couple places to try making changes to the boot commands and I tried various lists that were suggested. Before I changed anything, the Windows XP boot screen would appear and then it would revert right back to Grub.

[code]....

what drive number Ubuntu and/or Grub installed to, or assigned to the Windows partition, and I have no idea how to find out. I do not have a Windows XP installation CD (it came pre-installed on my computer), so I CANNOT wipe out that partition and simply reinstall it--I MUST be able to fix the problem without harming Windows!!! I also have data in the Windows partition that I don't want to lose. I could possibly uninstall and reinstall Ubuntu (as I saw suggested somewhere online), but I have not the slightest clue how to accomplish that task--and WHAT IF it didn't work?

View 23 Replies View Related

Software :: Installing Grub From Scratch To Boot Windows?

Jan 11, 2010

Since CloneZilla doesn't include the MBR when saving a partition into a file, I need to take care of this myself. With a working XP in /sda1, I'd like to...

1. Boot with a Linux live CD

2. replace the Windows MBR with Grub, ie. without any Linux already installed

3. save Grub's configuration files into /sda2 (which is ext2fs-formatted)

4. add XP to Grub

View 5 Replies View Related

OpenSUSE Install :: GRUB Boot Loader After Re-installing Windows XP ?

Mar 21, 2011

This is a problem when Windows is running some malware that cannot be removed, which happens all the time. The problem is all the new hardware or specialized hardware will not work on Linux so Windows is the only choice. I would think the latest versions of Linux would have this problem worked out by now. I installed 11.3 one week ago, only to find that the repair option in the install menu no longer exists so don't bother uses this link to reload the GRUB HowTo Boot into openSUSE when it won't Boot from the Grub Code on the Hard Drive. I also tried this link Re-Install Grub Quickly with Parted Magic which does not work either. On step 2 typing grub returns the error message "grub command not found". You can use GRUB if you boot the install DVD and select Rescue Boot. However when you type find /boot/grub/menu.lst the error message "file not found" is returned.

I did the following to restore my GRUB boot record. Boot the install DVD and select the update option during installation. Change all the repositories to enable except the NVIDIA repository, it is not responding at this time. When the system comes up go into Yast and open the boot loader. It should have your original boot menu in memory. Change the default to another option and re-write the MBR. This will write a new MBR using the original data updated with your new default. Re-boot and then change your default back. I am just a NewBe so this may not be exactly correct but I hope it saves someone like me some time fixing a MBR re-writing by the Windows installer.

View 1 Replies View Related

Ubuntu Installation :: Restoring Grub Failed After Installing Windows XP?

May 21, 2010

I am pretty new to ubuntu, and not sure if this question has been solved by anyone, I tried search this forum, but didn't find enough information. The closest thread I found here was this one:[URL].. Here is my situation, I have installed Ubuntu 9.04 a few days ago with an old Live CD, after running it pretty well, I upgraded it to 9.10 with the online update tool. (I guess this makes sure I was using Grub 1, the legacy Grub). After updated to 9.10, I installed a Windows XP on my hard drive, obviously, it wiped off my Grub from the MBR. So I tried to restore the Grub back to the MBR, but failed, please see below:I first run the fdisk

Code:
ubuntu@ubuntu:~$ sudo fdisk -l
omitting empty partition (5)
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

View 9 Replies View Related

Software :: Replace Windows Boot Loader On Sda1 With Grub When Installing Fedora?

May 28, 2010

I recently replaced a failed graphics card w/ a GT 240. Next thing I know, Fedora 11 won't boot up properly. I guess it was a driver issue. I can tell you I went about fixing it all wrong because I wiped the FC11 partition (intending to install FC13) and now I can't boot anything up. My system consists of: sda1 vista, sdb1 XP, sdb5 extended, sdb6 Fedora. I thought grub was on the fedora partition, but reinstalling fedora with grub on that partition didn't fix the boot up problem. Do I need to replace the windows boot loader on sda1 with grub when installing fedora?

View 1 Replies View Related

Software :: Cannot Run Debian After Installing It - Does Not Appear In Grub

Jan 30, 2010

I just installed debian squeeze and at finish it asked me if it write the MBR with gurb. I say yes, but after restarintg, squeeze doesnot appear in grub. I also have debian lenny in the same PC. I installed debian squeeze in

Code:

/dev/sda9: UUID="85383eab-fce7-450b-b713-c6bdfd57f53a" SEC_TYPE="ext2" TYPE="ext3"

I try to add it to menu.lst this way:

Code:

titleDebian GNU/Linux, Squeeze kernel 2.6.32
root(hd0,8)
kernel/boot/vmlinuz-2.6.32-trunk-amd64 root= UUID=85383eab-fce7-450b-b713-c6bdfd57f53a ro quiet
initrd/boot/initrd.img-2.6.32-trunk-amd64

When I choose it from grub menu, seems to run, but in 5,6 seconds it stoped and tell me doesnot find some files, like /proc, /etc/fstab, etc... Files I have in /boot (in squeeze particion) are:

Code:

initrd.img-2.6.32-trunk-amd64.bak
grub System.map-2.6.32-trunk-amd64
initrd.img-2.6.32-trunk-amd64 vmlinuz-2.6.32-trunk-amd64

I also tried SGD and when I choose squeeze, appear a black screen with promt

Code:

GRUB>

How can I run squeeze I just installed.

View 1 Replies View Related

Debian Installation :: GRUB After Installing 8.2 Over Ubuntu

Mar 20, 2016

I had a dual boot with windows 10 and Ubuntu 14.04, and I just decided to move from Ubuntu to Debian, but I didn't unistall Ubuntu. I just deleted it's partitions (/, /home, swap) and used the new allocatable space. When I was doing the partitions I noticed that the installer didn't allow me to choose between logical and primary partitions (not sure if this is important).

When I continued with the installation process, in the GRUB section the installer detected two Windows Vista options and later I selected /dev/sda as the disk for the GRUB (MBR). When I tried to boot, a GRUB command line screen from ubuntu appeared, when I wrote exit a message appeared "Boot succesfull" and then it sent me to the Boot selection from my laptop.

From there I can choose to boot Windows 10 normally or select a disk partition that sends me to the Debian GRUB from where I can boot Debian normally, but the Windows entries that appear (Windows 8.1 and Windows 8 recovery mode) fail to boot. So when I boot the Debian GRUB appears.

View 3 Replies View Related

Debian Configuration :: After Installing GRUB Win 7 Fails To Boot

Nov 26, 2015

I have a ~ 2008 notebook (Compaq CQ60-137EL) on which I had Windows 7 only (it was sold with Windows Vista installed).

Later I installed Debian Jessie 8.2.0 Stable ("Graphical expert install" from DVD), along with GRUB as a boot manager (I chose not to install it on the EFI removable media path).

Since then, if I select Windows 7 on the GRUB boot screen, I see "Starting Windows...", and after few seconds the screen flashes for a moment, and then the PC reboots: I see the bios screen, followed by the GRUB screen again.
What's even more weird about this is the fact it just happens only in like ~50% of the cases. In the other 50%, Win7 starts flawlessy.

I even tried to install Debian first, then Windows 7, then re-install GRUB, but I got the same issue, even with both system freshly installed.

On 6 attempts, 3 times it worked and 3 times it didn't.

On my desktop PC I'm in the same setting, but I don't have this issue. I think it may be related with the fact I have Win7 on a SSD and I installed Debian on a separate HDD, while on my notebook, as you can imagine, there's just one single HDD.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved