Debian Configuration :: Restoring Boot Record After GRUB Installation?

Mar 11, 2011

I have recently installed Debian alongside Vista on the same boot menu using the GRUB booting device. Only problem is, I couldn't boot Vista at all any more, so I removed my Debian installation from that drive. But the GRUB boot record persists, I don't have the Recovery disk to restore my old system, so I have to find a way to manually remove the GRUB track and put the old record in its place. I assume there was a copy made of it by the installation program, now my only problem is to find that file and copy the content back in place (at the address at the very beginning of the drive) all that by using Linux code, since that is all I have left. Being new to this game, I have no idea how to begin writing the right command for a job like this

View 3 Replies


ADVERTISEMENT

Debian Installation :: Grub 2 Not Setting Boot Record?

Mar 21, 2011

I've been using squeeze for a year or two now, on a PC dual booting with windows xp. Not long ago I thought that, as it's now become the stable release version, I'd do a fresh install, which I've been trying to do with the first two dvds. The installation proceeds as expected, up to and including setting grub. However, although grub saysthat it has detected windows xp, and I tell it to set up the dual boot, the computer on reboot goes straight into windows xp, with no on-scrteen option shown for choosing debian.

View 6 Replies View Related

Debian :: Restore Original Boot Record After Grub Installation?

Mar 11, 2011

A few days ago I installed my first Linux product, which is Debian 6.0, and I installed the GRUB booting device on my main boot record, as it was suggested that it was a harmless step to take. Unfortunately, some quirk in my system made GRUB believe that I had XP when in fact I have Vista, so the options I have now are to boot Debian or to boot XP which is not on my computer. In other words, I have to get rid of GRUB now, but I'm realizing that he's not such an easy customer to kick out. I have moved my Linux installation to another drive, but the old GRUB always stays in place, and my Vista is stuck there frozen for eternity. So after considering all kinds of possibilities, I have come to the conclusion that the easiest way to restore my original boot record would probably be to find its backup copy that I assume the installation program made, and to copy it back into the right address at the beginning of the disk. I don't have the Vista recovery CD, so I really have to do this manually. So now my questions are these: did the installation program make a copy of the boot track, and if so, where did he put it and under what name, and finally, what command can I use from within the Debian terminal, which is now my only tool left, to copy the content of thesaid file into the first 512 bytes of the hard drive? I know that would be a simple matter for any serious geek, I guess I must be a little rusty. Anybody feel up to it?

View 9 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

Ubuntu Installation :: Corrupt Master Boot Record Or Grub?

Nov 27, 2010

I think I managed to corrupt my master boot record, or have a very intractable problem with Grub.

I'm not sure how I did this, but my desktop will boot Ubuntu fine from a USB, but every time I try to install it, the install seems to go fine, but when I finish the install and the machine tries to boot the OS from it's hard drive, it does not work. The monitor does not get a signal and it just goes to sleep.

I tried posting here to resolve the problem before, tried everything on this thread: [URL]

But nothing worked.

I have even tried running the system from a USB, running a "shred" command for the hard drive and then reinstalling - my theory was that the shred command would destroy all the data on the hard drive anyway, and allow a "clean" install from whatever was corrupt on it, but no luck - when I installed Ubuntu on the hard drive, same problem.

I'm not clear where the problem lies now, I'm assuming there is something up with it's master boot record, but there are no partitions on it's hard drive and I started with a completely blank, unformatted drive.

View 2 Replies View Related

Debian Configuration :: Hibernate To Disk Not Restoring

Mar 9, 2011

I have Debian 6 (squeeze), I have also seen this under Ubuntu (can not remember how I fixed it). (has worked in ubuntu 10.10)I can hibernate, but when I switch on the system cold boots (it does not restore previous session).Note suspend works fine. Have looked in /var/log/pm-suspend.log Shows for each block of suspend suspend a block of resume suspend, but hibernate hibernate is not followed by resume hibernate ( I assume that is what is expected.)

View 7 Replies View Related

Debian Configuration :: Tampered With Kernel And After Restoring It Cannot Print

Jul 19, 2011

I tampered with Kernel and after restoring it cannot print , when I tried to re instal printer get the following message: CUPS sharing "Unable to get printer status(client-error-forbidden)!"

View 2 Replies View Related

Debian Configuration :: Using Grub To Boot From An Iso Image?

May 30, 2010

I have a Knoppix DVD-ROM. I also have its image as k.iso at the second partition of HDD of my laptop. I use the DVD-ROM and write at the boot prompt the cheat code:

knoppix bootfrom=/dev/sda5/k.iso

I also have a folder Knoppix made during bootprompt by using the cheatcode knoppix tohd=/dev/sda5 and I can use the following cheatcode while booting from the DVD-ROM, like knoppix fromhd=/dev/sda5My laptop runs Debian Lenny 5.0.4, installed in the first partition of my HDD.
Can Grub be configured to boot from the Knoppix k.iso image, or the knoppix folder, which I use to use the Knoppix OS, so that I am freed from using the DVD, when I want to use the knoppix system?

View 14 Replies View Related

Debian Configuration :: Set Grub For Boot The Archlinux?

Jul 2, 2010

I have Debian Squeeze amd64 and i install into same hdd in free space archlinux sda3 /boot, sda4 /

How set grub from debian for boot the archlinux?

View 4 Replies View Related

Ubuntu Installation :: Lucid: Restoring Grub2 (dual Boot) - Error "error File Not Found Grub Rescue"

Apr 30, 2010

After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.

[Code]...

View 9 Replies View Related

Debian Configuration :: LILO As A Boot Loader From Grub

Aug 26, 2015

I am thinking about maybe trying "LILO" [URL] ....

For my boot loader, from what I have read it sounds even more tempting.

I am totally sick of GRUB, even though it is what seems to be the most popular,and is what normally is used as the "default" when any linux system is installed, that is what the install ISO's use, but anyway, that is another topic, over the years, "grub failing", has been a problem for me , many times.

I saw this (From LILO to GRUB Howto).

View 5 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

Debian Configuration :: Decrypt Luks Volume With A Keyfile On Boot From Grub

Jul 6, 2015

I have install a debian jessie in my laptop, i create a lvm volume with /, /home, etc and a /boot partition outside. the i move this partition to the lvm volume and boot from it, everything it´s okay and it works.

The problem is that wen boot it ask me the passphrase to load grub, and then, when grub loads the kernel, it ask me again the passphrase.

I read that i can pass a key file to the initramfs to solve this, but where i see it, he uses mkinitcpio, and i can´´t find this package in the debian repos, it an arch package, also i tried this option [URL] ...

But it asking me the passphrase 3 times, and the third fails, the sistem starts, but i read the fail in the log.

View 1 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

Fedora Installation :: Grub Configuration - Can't Boot Ubuntu

May 18, 2009

I had installed Ubuntu on my one and only hd. I partitioned with GParted and installed fedora Release 9 Sulphur. i can not boot Ubuntu. I tired some changes to grub.conf but with no luck, namely, 1. title Ubuntu root (hd0,0) chainloader +1 2. title Ubuntu configfile (hd0,0)/boot/grub/menu.lst. this one gives error 15 file not found. Here is my fdisk-l output:

[code]...

View 14 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

Red Hat / Fedora :: How To Edit Grub - Unable To Find Boot Record

Oct 12, 2010

i installed ubuntu inside windows but someone instead of uninstalling it directly deleted the ubuntu folder inside windows ,thinking that the partition will be deleted. but when i restarted the system and command prompt came and said unable to find boot record and i couldn't boot windows as well and a grub prompt came like grub>, then i inserted the windows boot cd and repair the boot record error but my problem is , instead of doing this way, can i do so by grub prompt directly without using winidows cd.

View 1 Replies View Related

Debian Installation :: 'grub-pc' Package Failed Into /target/. Without The GRUB Boot Loader

Sep 21, 2010

I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.

View 3 Replies View Related

Ubuntu Installation :: Grub Configuration Lost - Unable To Boot

Jun 13, 2010

I have accidentally started the recovery OS of my netbook, and messed-up grub. I can start the Netbook from a live CD, but I do not manage to restore grub to anything useful. Below the outcome of the Boot Info Script I have found in the forum:

Code:

Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Syslinux is installed in the MBR of /dev/sdb

[code]....

View 9 Replies View Related

General :: Bootloader - Restore Boot Record And At Same Time Keep My Grub Config?

Jun 3, 2010

Im finally deleting vista from my disk, but as I am game addict I will re-install it afterwards just for games. Now I assume that will overwrite GRUB, so how do I restore boot record and at same time keep my grub config?

View 5 Replies View Related

Debian :: Restoring USB Pendrive After Boot Image

Feb 5, 2016

I created two debian bootable pendrive with the newest and basic commands: CP debian.iso and SYNC. When I tried to restoring the pendrive GPARTED sees only few space and is unable to perform any operation on the hidden partition as well in Windows 7.

CFDISK is able to see the partitions but is unable to write anything, just deleting. After deleted any partion GPARTED enconters a wrong block size so is unable to perform any changes.

Thus the only way I found to restoring the pendrive is delete the partion with CFDISK and then formatting the pendrive in Windows, where did I do wrong?

View 4 Replies View Related

General :: Way To Re-install Grub On Master Boot Record Of Hard Disk Using Live CD?

Nov 29, 2010

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.

View 4 Replies View Related

Ubuntu Installation :: Restoring W7 Boot Loader

Nov 17, 2010

I've spent the better part of two days googling and trying out fixes. I've done quite a bit but still have the same issue.I want Ubuntu to be my secondary operating system. As such I'd like Ubuntu to be on the W7 bootloader, not W7 on Grub. This is, mainly, so that I can press power and not sit at the computer to manually select W7.I've tried EasyBCD, many times, but when I select both Grub (legacy) and Grub 2, add it, overwrite the MBR, and reboot, it wipes out the bootloader entirely, and Windows 7 boots up.

View 6 Replies View Related

Ubuntu Installation :: Grub Error On Reboot - Record Fail

May 15, 2010

I rebooted, and got a new GRUB error:
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 7b4afbe0-28fe-4403-bd86-c4364bf10f98
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=7b4afbe0-28fe-4403-bd86-c4364bf10f98 ro single
initrd /boot/initrd.img-2.6.31-16-generic

View 8 Replies View Related

Debian Installation :: GRUB In Boot Partition?

Jun 19, 2012

I am new to Debian but have some basic experience with Linux and am currently trying to triple boot Windows 7, Fedora 16, and Debian on an HP Pavilion dv7. I have the Windows Boot Loader on my MBR because I've heard that Windows updates can cause boot issues if GRUB is installed there. This means that I've been installing GRUB in the /boot partition for each Linux distro and creating corresponding entries in the Windows boot menu.

This has worked in the past with both Fedora and Ubuntu, but I have not been able to work around it with Debian. When I choose my Debian option in the Windows boot loader, it loads GRUB but hangs after it prints "Welcome to GRUB!", and I have to restart the computer. I would like to hear what more experienced Linux users have to say both about why this isn't working for Debian and about if keeping the WIndows boot loader is the right way to go.

Also, here is my partition layout:

Partition 1: SYSTEM (HP pre-installed) (209 MB)
Partition 2: Windows Partition (472 GB)
Partition 3: Extended (160 GB)
1: /boot for Fedora (524 MB)
2: Physical Volume for other Fedora partitions (79 GB)
3: /boot for Debian (749 MB)
4: Physical Volume for other Debian partitions (80 GB)
118 GB free space
Partition 4: HP_TOOLS (HP pre-installed) (108 MB)

View 14 Replies View Related

Debian Configuration :: Get The Windows One Working Again - Grub Configuration

Oct 3, 2010

I was trying to get the Windows one working again. Here's what fdisk -l reads:

[Code]...

I'll change these or do some grub configurations, if anyone knows what ones can work.

View 1 Replies View Related

Debian Installation :: Grub Not Installed Properly - Cannot Boot From Anywhere

Mar 1, 2015

I have an hp pavilion 15-b106ed with UEFI. I disabled secure boot and installed debian jessie form the CD1 iso (RC1 installer) burned to an USB key. Installation went smoothly, but after rebooting I get grub's terminal-like screen saying:

"GNU GRUB version 2.02 beta2-9ubuntu1. Minimal BASH-like line editing is supported... etc"

The problem is that as soon as I turn on the computer that grub screen shows up and I can't boot from USB anymore nor
access the BIOS settings, no matter how fast I press F9, F10 and such. I guess I have to tell him to boot from the USB using the grub terminal...

View 9 Replies View Related

Debian Installation :: GRUB Missing OS On Multi Boot

Oct 29, 2010

I just netinstalled Squeeze to a netbook with Windows7. The installation went well without any problem. Linux is also working OK. When I boot now, grub does not show Windows7. I took default settings during installation. I mean I did not do anything special. What should i do to fix it? Should I run osprober and grub-update?

View 3 Replies View Related

Debian Installation :: Triple Boot On A Netbook: Grub Does Not Appear

Dec 26, 2010

I recently bought a netbook on which Windows 7 Start Edition was installed. I partitioned the disk to install 2 other linux distributions : Backtrack 4 and Debian Lenny. Here is my partition scheme :

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc6a9bf3e
[Code]...

Partition table entries are not in disk order During both of the installs, I chose to install Grub. Unfortunately, when I start my netbook, it launches Windows 7 automatically and I do not see grub...

View 6 Replies View Related

Debian Installation :: UEFI GRUB Broken - Dual Boot 7.7 And Win 8.1

Dec 23, 2014

My Toshiba Satellite C870-198 has Debian 7.7 installed in UEFI mode alongside Windows 8.1. The GRUB menu no longer displays, but the machine boots straight into Windows.

I can boot into Debian or Windows from rEFInd installed on a USB stick. The rEFInd menu has the following entries:

The Debian entry actually launches the GRUB menu which was installed with Debian.

Code: Select allBoot Microsoft EFI boot (Boot Repair backup) from Basic data partition.
Boot supposed Microsoft EFI boot (probably GRUB) from Basic data partition.
Boot EFIubuntugrubx64.efi from Basic data partition.
Boot EFIdebiangrubx64.efi from Basic data partition.
Boot bootootx64.efi from Basic data partition.
Boot vmlinuz-3.2.0-4-amd64 from boot.

In an attempt to fix GRUB I executed the commands in the 'Reinstalling grub-efi on your hard drive' section of: [URL] ....

Code: Select allmount /dev/sda1 /boot/efi
... surprisingly returned:
Code: Select all$LogFile version 2.0 is not supported.  (This driver supports version 1.1 only.)
$LogFile version 2.0 is not supported.  (This driver supports version 1.1 only.)
Did not find any restart pages in $LogFile and it was not empty.
The file system wasn't safely closed on Windows. Fixing.
Code: Select all[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"

... returned "EFI boot on HDD".

[Code] ....

... Where is Debian?

FULL HISTORY ....
=============================

The laptop came with Windows 8 preinstalled. I switched off Secure Boot and installed Ubuntu for UEFI dual boot. I recall having to use Boot Repair to get the GRUB boot manager working properly for both systems.

Recently I decided to replace Ubuntu with Debian 7.7 and first cloned the entire hard drive to a USB drive (The Clone Drive). This drive successfully boots into Ubuntu in UEFI mode.

Following this I took the opportunity to update Windows to 8.1, which broke GRUB as expected, so that the machine would only boot straight into Windows.

I installed Debian from a live USB stick in the mistaken belief that it would be bootable in UEFI mode. It did boot OK in legacy mode.

I then burned the full Debian 'DVD' image to a USB stick, booted it in UEFI mode and reinstalled Debian. In UEFI mode GRUB allowed me to boot into both Debian and Windows.

At this point I tested The Clone Drive. It was still able to boot into Ubuntu as previously, but after powering down, unplugging The Clone Drive and rebooting, the GRUB menu failed to appear and the machine booted straight into Windows. This is its current state.

View 13 Replies View Related







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