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
ADVERTISEMENT
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
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
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
View Related
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
Feb 28, 2010
They were controlled by BIOS for start-up without problem.Just wiped out Fedora and installed Ubuntu 9.10 64bit. During installing GRUB I saved it on Master, IIRC.Now Ubuntu and Vista startup are controlled by boot loader. I have to start Ubuntu first and on kernel selection select (loader)(on/dev/sdb1).Then Vista starts.It works.How can I restore to its original setup?Their booting is controlled by BIOS.
View 8 Replies
View Related
Jan 27, 2009
I installed F9 for a friend. She wasn't getting any sound. I ran aplay -l, but got no sound card listed. I ran lspci -v, but got no sound card listed. However,the output of lspci -v said the computer had a particular motherboard. I Googled for it and was told it had an onboard sound card. That led me to the package called realtek-linux-audiopack-4.06a, which I installed. It included an installation script, which I ran.
The script didn't work to compile various files it was supposed to, but it did work to delete various files from my friend's system. Here are the bits of the script that removed files:
echo "Remove old sound driver"
if [ -d /lib/modules/$KERNEL_VER/kernel/sound ]; then
rm -rf /lib/modules/$KERNEL_VER/kernel/sound/pci > /dev/null 2>&1
[code]....
In the result, the failure of the compilation didn't matter, because lspci -v lied. She didn't have the motherboard shown, but a different one without an onboard sound card. Of the files deleted by the script.
I was able to reinstall libasound.so.2 and libasound.so.2.0.0, but I haven't yet tried to reinstall the other ones deleted by the script. Now, I want her to buy a sound card, but I'm afraid it won't work unless all the deleted files are reinstalled. I'm looking for guidance as to how I can reinstall the files deleted by the bits of the script I set out above, without completely reinstalling Fedora.
View 4 Replies
View Related
Jun 22, 2010
I had i a dual boot win. 7 and ubuntu 9.10,recently i had some problem in my windows os so i restored the c drive to factory settings since both operating systems where in c drive so when i tried to boot grub was showing problem.the information displayed was loading grub, the file does not exist rescue grub> so what should i do to restore grub so that i can boot again into windows 7 and ubuntu without loosing my data.
View 1 Replies
View Related
Mar 11, 2010
I have an old Dell Dimension 4500 that, until recently, had 2 hard drives. One drive is running Xubuntu Koala and the other was running XP. I had set up Xubuntu to run LVM.
After needing XP again for a small project I tried reinstalling XP, got disk errors, took the drive out to just have Xubuntu, and now when I boot I get "Error loading operating system".
I have tried restoring GRUB from a Live CD with no help. Everyplace I look on the net talks about restoring GRUB after installing Windows on another drive. I'm trying to get GRUB working again after removing the XP drive.
View 9 Replies
View Related
Jun 8, 2010
I just installed 10.04 to the second hard drive on my system, and stupidly installed the new grub to the first drive, which has my standard 9.10 OS on it. Now I cannot boot into my original system. All of the files across both disks are still intact and mountable. I'm not new to linux in general, but I'm not exactly knowledgeable, either...
View 9 Replies
View Related
Oct 27, 2010
I've been using Ubuntu for a couple years, and have really enjoyed the experience. Recently though, I also felt like installing Arch Linux onto my laptop which already had a Vista/Ubuntu 10.04 partition. In doing so, I lost access to the Ubuntu partition on my hard drive. The Arch linux grub had replaced the Ubuntu grub.
So the main question is, does anyone know how I could re-access or re-install the original Ubuntu grub? If not, then can someone help me with adding a boot option in Arch's Grub? I've already tried some things, though obviously, none have worked so far.
View 1 Replies
View Related
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
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
Aug 17, 2009
how to restore the original yum settings?
I followed a walkthrough that set the yum config to be more robust(?) or harder to break F11 and since have had major problems installing things.
Can I roll this back or reinstall the yum parts of the OS from scratch to regain normal operation?
View 4 Replies
View Related
Apr 9, 2009
When i click the green frog head, things dont behave as before. When i moved my mouse from the Favorites to Applications or to Computer/Recently Used/Leave tabs, the desktop enviroment would automatically switch, without me having to click them. Another thing is if i want leave the green frog toolbar i have to click somewhere withing the green frog head window to close that window. Before i was able to get out of it by clicking on any window out of it, like a firefox window. Also when i go to desktop setup , the only themes remaining are Oxygen and Aya.There were more before. Finally similar programs on the taskbar are grouped together which i don't like. how i could over these problems without having to reinstall the OS , preferably using the opensuse dvd.
View 9 Replies
View Related
Apr 8, 2011
I have managed to delete my default openSUSE 11.3 KDE 4 desktop. I also ended up with this seemingly unchangeable desktop set up. How do I restore the original openSUSE 11.3 KDE 4 desktop ?
View 3 Replies
View Related
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
Oct 23, 2009
I tried to install KDevelop4, decided I didn't want to use it, and now I am having trouble getting KDevelop3 working again. The only steps to installing kdevelop4 were installing a new version of kdevplatform and then kdevelop itself. I did this:
1) sudo yum remove "kdevplatform* kdevelop*"
2) disable updates and testing repo
3) sudo yum install "kdevelop"
The problem is that there is something wrong with the menus (File, Edit, etc). There are many important items missing, as well as one of them says "No text!". This indicates that this is not the original packaged version with F11 because I used it for a year and it was certainly not like this. Is there a better way to get back to the original version than I showed here?
View 1 Replies
View Related
Aug 15, 2011
I recently had a problem in Ubuntu 11.04. I had just installed GNOME 3, however, I didn't really like it as much so I decided to go back using GNOME 2,but then a whole bunch of things happened. I tried re-installing GNOME 2,but then I lost the Ubuntu enviorment and stuck only with GNOME and now I'm only left with a terminal whenever I log in. how to restore Ubuntu 11.04 back to its original state, like as if it had a fresh installation?
View 7 Replies
View Related
Aug 5, 2011
The top right panel item contains the shutdown, time, network icons, etc. I don't use the messaging icon so right-clicked and chose 'remove from panel'. The whole lot disappeared! How can I restore things to their original state?
View 5 Replies
View Related
Jun 29, 2010
well, by mistake i ran a command and chown the whole server apache:apache
now, i can't do anything... is there a way to restore the original permissions??
View 3 Replies
View Related
Feb 26, 2011
I was in real doubt where to put this, so I hope I picked the right forum; otherwise, my apologies!
I want to build Roadsend PHP on my system. There seems to be no way to do this with the package manager, so I have to build it from source.
Turns out it depends on something called 'Bigloo'. Again no luck with the package manager, so I had to build this one from source too.
I took version 3.0c (Roadsend website recommends this version), did a
Code:
./configure && make && make install
, which did the job. Builing Roadsend worked, but I got a runtime error, which had to do with the Bigloo version.
No problem, I tought, then I'll just install Bigloo 3.1a. I did a "make uninstall" in the 3.0c dir, and tried to build 3.1a. This also worked, but now when I try to make Roadsend, I reports:
Code:
*** ERROR:bigloo.heap:
Release mismatch -- Heap is `3.0c', Bigloo is `3.1a'
So, somehow, there are still traces of 3.0c on my system. Maybe some file that didn't get deleted or some table entry that hasn't been undone?
My question is: How can I remove all traces of this version? Apparently, "make uninstall" is not thorough in this case.
And: Is there a general solution to remove everything when I did a "make install". So that my system is in the same state as it was before I ran the command?
View 4 Replies
View Related
Jun 29, 2010
I installed Mandriva today, but it got rid of my GRUB boot loader. So I need to know how to fix this, I have Ubuntu 10.04 installed, but am currently running the Live CD from 9.10 to get me online.
View 5 Replies
View Related
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
Dec 30, 2010
I recently had my laptop which ran windows xp, wiped and ubuntu installed in its place. I was told of all the grand benefits of ubuntu so I thought yeesss. Everything was running beautifully, everything was heavenly, until i encountered "a flash website ". This was strange because ..... worked fine.
Anyway ever since I encountered that site Ubuntu crashes on startup. I log in then crash. Its strange because sometimes it takes a while to crash e.g. when trying to open any application, or sometimes its instant.
1. How i diagnose this problem so it can be fixed, remember it may have to be before the log in.
2. Is there someway I can do a system restore to its original settings or something?
View 3 Replies
View Related
Jun 15, 2011
we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?
View 1 Replies
View Related
Jun 8, 2010
When booting into my slack12 fluxbox desktop today my fonts were so small they were hard to read. The same is true if I use kde. I didn't change anything that I can think of. I tried running fc-cache but it didn't change anything. My xorg.conf hasnt changed. Interestingly, my xterm font didn't change size, but the konsole font is tiny like my other desktop fonts.
View 3 Replies
View Related
Nov 4, 2010
I was messing with some boot loaders which accidently disabled grub and I was remained with windows 7 boot loader only.How can I restore grub?I am using Opensuse 11.3
View 8 Replies
View Related
May 18, 2010
I have a weird problem that after increasing the screen resolution from 1024x786 (4:3) to 1280x900 something (also 4:3) that both top and bottom panels have disappeared. I am not familiar with the keyboard shortcuts to much but managed to get a terminal running so I should be able to do some command line stuff but as I am not too familiar where to edit perhaps someone can give me some pointers.
I guess first step is to restore the resolution to the original. Anyone any ideas?
View 4 Replies
View Related
Oct 24, 2010
I just made my system unbootable... Here is what i did.. I have two sata HDDs
160 GB (Contained Windows 7)
500 GB
I copied entire 160 gb as an mirrored image to 500GB HDD using Acronis Disk Director. I deleted entire 160 GB HDD.. Removed the 500 GB HDD and kept it seperate.. Installed ClearOS Enterprise 5.2 Worked a little bit... The i wanted to delete ClearOS.. So i connected 500GB HDD and booted again in Acronis Disk director Formated the entire 160GB HDD.. Copied back the entire 160 from 500GB HDD.. Now my sytem refuses to boot... Just 4 letters "GRUB" appears on the screen... I tried booting using XP CD.. It gives a blue screen.. I tried Windows 7 CD.. It says unable to fix due to MBR problem..
View 8 Replies
View Related