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


ADVERTISEMENT

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

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

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

Debian Configuration :: Installing MySQL 5.1 In Lenny

May 17, 2010

I've been trying to install MySQL in Lenny via source binaries, following the instructions given on the MySQL official website[url]

But when i try to run the scripts/mysql_install_db --user=mysql command, doesn't work.

For the record, i'm particularly interested on installing MySQL with the generic source binaries.

View 1 Replies View Related

Ubuntu Installation :: 9.10 - Will Installing Debian Lenny Break GRUB 2

Jan 11, 2010

If I install a totally different Linux distro on my existing Ubuntu 9.10 system, will it break GRUB 2? I was thinking of installing Debian Lenny, but have held off because I do not want to inadvertently wreck the boot arrangement.

I've previously installed Windows after installing Kubuntu, and had to reinstall GRUB as the bootloader as a result. It wasn't a big deal with the old GRUB, but I don't know if it's that easy with GRUB 2.

I am not sure what bootloader Debian Lenny uses. I've been looking but haven't found the answer yet. I guess if it also uses Grub 2, I wouldn't have to fix anything.

I want to try out Lenny because an app I want to use (Teamspeak 3) doesn't play nicely with Pulseaudio. Pulseaudio is integral to Ubuntu 9.10, but I have other options with Debian Lenny. I'd like to see whether the app works better there w/LXDE.

I guess I could also just make a virtual Lenny machine in Virtualbox, but I wouldn't get full use of my hardware, so I wouldn't be able to play Urban Terror (which is why I want to use Teamspeak 3).

View 2 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 :: Lenny - Stage 1.5 Grub Loading ... Error 2 Due To The Bios "RAID" Configuration

Aug 4, 2010

I'm trying to install Debian Lenny on my new Dell XPS 8100 Desktop with 2 x 1To SATA HD. (No Windows or any other OS install is present on the system) The Bios allows me to change the SATA mode to either "ATA" or "RAID"

- When SATA mode is set to RAID, the installation goes without issues, but when it comes to load into the system, I've got that Stage 1.5 Grub Loading... Error 2 problem. I assume this is due to the Bios "RAID" configuration. I then switched the SATA mode to "ATA" in the Bios and now I can see the menu that allows me to boot my debian install but that part actually fails too saying "ALERT /dev/sda1 does not exist"

- When SATA mode was set to ATA, I tried to re-install the system but this time my drive was not recognized by the installer: "No common CD ROM drive"

View 2 Replies View Related

Fedora :: Restoring Grub After Reinstalling Windows?

Aug 4, 2010

My Windows installation had a problem and I had to reinstall Windows. The problem now is that I need to get grub back so that I can boot into Fedora. I'm using a Fedora 11 LiveCD I had sitting around. Here are the results of the command most of the way down the first page:

Quote:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
240 heads, 63 sectors/track, 32301 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x000f09ab

[Code].....

I'm tempted to try the grub-install command quoted near the end of the thread, but I don't want to do anything that will hose the system.

View 14 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 :: Installing Grub On Cloned Drive?

Jun 16, 2011

Im running Squeeze (in VirtualBox on a Win host), and I need to clone my drive to a bigger one and boot from that drive. I used gparted from a live cd for the cloning, and got the following result with fdisk -l:

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

View 1 Replies View Related

OpenSUSE Install :: Restoring Windows 7 Boot After Installing 11.4?

Mar 29, 2011

recently I've installed Opensuse 11.4 dual booting beside windows 7 . now I want to restore windows 7 boot to remove OpenSuse 11.4 ...I've tried many ways to remove grub and restore window's boot . I tried bootrec /fixmbr and bootrec /fixboot but in when it comes to the last step it says (cannot find system path )I also tried nt60sys method to restore windows boot and it failed 2 sound like the grub installed is rock solid one

View 1 Replies View Related

Debian Configuration :: Windows 7 Ate Grub

Apr 18, 2011

I recently installed Debian, and its great except hardware config, any way already fixed that, I reinstalled windows 7, and it removed Grub I tried reinstalling it, and reconfiguring it no luck I've booted into Debian using a boot CD.

View 6 Replies View Related

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 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 :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Debian Configuration :: Save To Install Kernel 2.6.35.2 On Debian Lenny 5.0.5 Or Stick With Automatic Updates

Aug 20, 2010

is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...

View 14 Replies View Related

Debian Configuration :: Adding Compex ReadyLink NIC To Debian Lenny?

Nov 4, 2010

I have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).

lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-

1. Make Menuconfig
2. Loaded an alternate kernel config file (my working kernel config file)
3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)

I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-

ifup eth1
The error messages given are:-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

View 1 Replies View Related

Debian Configuration :: Pxe Setup On Lenny

Feb 27, 2010

i am trying to get a pxe server working on a debian so other clients can boot off it. the problem has two parts.

1. getting the pxe working. so far the tftp part doesnt work. the client says tftp error. so i guess the dhcp portion is working, but theres something wrong with the /var/lib/tftpboot or the deamon config itself.
2. the other issue is that in the shop many system's have non-working disk drives. also many of them do not have a usb boot option in the bios. all i need to do is get the "bare" kernel file or grub(?) to boot over pxe and give me the ability to boot from a usb flash drive and load the rest of the linux files from there. my primary intention is NOT netinstall. although it wouldnt hurt. my intention is running a linux live usb on systems without bios usb boot support. ive read somewhere that a full pxe live boot requires nfs setup. i am asking for that, just so i can boot from a flash drive.

View 4 Replies View Related

Debian Configuration :: Lenny Will Not Boot With 2.6.30 Or .32

Mar 20, 2010

I have a lenny box:

Linux ulet 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux

In order to get a newer kernel that would recognize a linksys usb wifi adapter I got the advice to upgrade to a newer kernel - 2.6.30 or newer. Which I am able to get from backports.

But when I try with .30 or .32 my machine will not boot. I do have a raid, but it is only used for data files - I do not boot from it or have any system files on it.

First I get this error:

I have not resumed the machine so I have no idea what is going on. So I press ENTER:

View 14 Replies View Related

Debian Configuration :: Reinstall It As Per The The One On Lenny?

Apr 20, 2010

I managed to break my video4linux module rendering all my video devices useless, can anyone tell me how to reinstall it as per the the one on Lenny. I'm looking for the original one and not v4l2.

2.6.26-2-686 I have a presentation to do tonight and need it working for that.

View 3 Replies View Related

Debian :: Installing Slimrat On Lenny 64?

Mar 7, 2010

I would like to install slimrat on debian Lenny 64 but I don't understand the steps I've found on the Internet. This software is useful to download files from Rapidshare.

View 5 Replies View Related

Debian :: Installing Udf-tools On Lenny?

Oct 29, 2010

i have udftools_1.0.0b3.orig.tar.gz and udftools_1.0.0b3-14.diff.gz with me. how can i compile and install it ? i do not have an internet access on my desktop pc..

View 7 Replies View Related

General :: Installing KDE 4.x On Debian 5/Lenny?

Oct 22, 2010

I've recently started trying out Debian 5 coming from Ubuntu. I'm very much in love with KDE 4.4 now they've fix it so it actually runs. but I'm unable to install it on Debian 5.

Right now I have Debian 5.0.3 on an Asus Eee netbook, and it's running KDE 3.5.x. I installed this from a Disk marked Debian, Official CD KDE i386, Debian GNU/Linux 5.0.3 "Lenny" (I bought the entire 33 CD set.)

I've tried to install KDE 4.x via synaptic, using the kdebase-runtime-bin-kde 4:4.1.0-2.

Even after a 3h download and install, it still boots with KDE 3.x. There is no switching to KDE 4.x in the KDM as well.

I've been unable to find a repository. I thought about using a Ubuntu KDE install, but after reading some posts here, I thought I'd better ask your opinions first. (Which I should ask too. if I see programs I like in Ubuntu, should I just compile them from tarballs instead of the .DEB binary to make sure they work in Debian 5?)

Should I wait till Debian.org actually puts KDE 4.x on their repositories (I hear the next version will have KDE 4.5.x on disk.)

System:
Asus Eee 1000HA
1.67ghz ATOM processor
2g memory
160g HD
Grub2
Debian 5.0.3, w/KDE 3.5.10
Ubuntu 9.04/Gnome

View 3 Replies View Related

Debian Configuration :: Wlan Really Slow Under Lenny

Jan 10, 2010

i use a telekom s100 set-top-box, which originally had a prism54 wlan-card. but wlan was very slow. but the driver was working well and it did not seem to be a configuration issue, so i assumed that its that card which is so slow. following i purchased a atheros based wlan-card which is working perfectly well with the ath5k driver of my linux kernel (2.6.26-1-686). but the connection is pretty bad anyway. i get max 300kb/s from pc to pc. as its the same with 3 different cards i tested in the s100 i assume it is a configuration issue? or might there be chipset or mini-pci-slot limitation?

when i check the connection with iwconfig the bitrate is somewhere between 1-54mb/s, rising to 54mb/s and then falls back to 1mb/s, rising to 54mb/s again, falling down, its an infinite loop. im using wpa_supplicant for the connection, but i don't think thats the malefactor. well, you never know .. i tried to set the bitrate with iwconfig wlan0 rate 54M but that ended in a disconnection ...

[Code].....

View 3 Replies View Related

Debian Configuration :: Lenny Or Sid As A Domain Controller?

Feb 18, 2010

Can Debian act as a Windows Domain Controller? I'm just curious because my boss recently tossed out some old servers and I grabbed them. They're good machines but I can't afford to pay $1000 for Server 2003 R2 just to setup a domain at my place and run Endpoint Protection and such. I've never used a domain setup in Linux before so I thought I'd ask and possibly try to, if Debian/Linux is capable of such a thing.

View 6 Replies View Related

Debian Configuration :: Deluge Installation On Lenny?

Feb 18, 2010

I have problem with installing Deluge. I did not find any manual how to install Deluge. And I wanna install deluge newest version, and that is on Debian testing packages. So how can I install Deluge from debian testing packages. I read a little bit Deluge forum and there I see, there is lot of problems with Deluge on Debian Lenny. And all I need is use Deluge from web interfaces, thats all. How could I set it up?

View 6 Replies View Related

Debian Configuration :: Configure The Postgresql In Lenny?

Mar 3, 2010

I've been trying to configure Postgresql in Debian for some time now, in order to install a ERP program in my computer, but when trying to follow the tutorial for the program configuration I end up stalled. Basically its says this:

1) under su, start by finding the postgresql.conf file (it points the location of the file in /var/lib/postgres/data, but it isn't there) and find the line saying 'tcpip_socket' and changing it to "true"

After a little search and help, I found this file in /etc/postgresql/<version>/main/ but the mentioned line is absent, locate it or tell me where to add it in the file? I've read the file front to back and I'm pretty sure the line isn't there.This is, according to the tutorial, to enable the server to connect to a Java program through the JDBC.

2) after editing postgresql.conf, edit pg_hba.conf and add the following line to the end of the file: host all all 127.0.0.1 255.255.255.255 trust

I get stuck after this, because I'm now supposed to restart the server by using '/etc/init.d/postgresql restart', but bash replies that the path is invalid. The program I'm trying to install is hosted here: [URL]. It's a portuguese ERP program.

View 3 Replies View Related







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