Debian Configuration :: Computer Booting To Wrong Grub
Jun 25, 2015
I recently installed another Linux distro, Kali Linux, alongside my Debian 8 and discovered to my chagrin that my computer boots to Kali's grub rather than to the Debian grub. I had spent some time customizing Debian's grub and would hate to see that effort go to waste. Is there a way I can get my computer to boot to Debian's grub instead? I tried deleting Kali's boot partition with gparted but that did not seem to do anything.
I have two versions of Ubuntu on my computer - 10.04 and an earlier one that i no longer use. I'd like to free up the space that the old partition is taking, but the computer boots from the grub menu.lst of that old version. How can I make the boot process use the menu.lst in the 10.04 partition?
where is the boot process situated anyway and how can you get at it?
I added a script to start a service and Lenny wont boot anymore,its stuck at the point where the script is supposed to load. I used update-rd scriptname defaults I was trying to add NTLM Authorization Proxy Server, by adding a script
Code:
python /root/ntlmaps/main.py
This is the second time i am trying this, that last i did this i added a & at the end( this should send it to the background?) and it worked fine.I have mounted the root file system through live-cd, but iam not able to figure out how to undo this silly mistake of mine
Edit: I just managed to get the system back up. Looks like i was confusing /mnt/etc/init.d with /etc/init.d ...
I added the & to the end of the line, making it
Code:
python /root/ntlmaps/main.py &
I referred to [URL] while doing this exercise and apparently there should be some code for shutting down too, dont really know how to do that, on the command line i use kill 9 <PID>, but theres probably some other way for it here...
I recently install Ubuntu-studio Desktop and some other packages. And, I upgraded my System. But since then, the Grub has started to display (I have only 9.10 installed, using the entire Disk). Also, unless I select the entry, Grub does not automatically start. The startup takes nearly 1.5 minutes. And, the Login screen, after the installation of Ubuntu Studio GDM, is much slower. I removed the Ubuntu-studio GDM package, still it takes about 20 seconds to allow me to enter Username and password. Any idea?
I'm very new to Linux but when I first installed it, I downloaded the Start-Up Manager so I could change the boot order. I have a dual boot Windows-Linux, I set the default as Windows. Recently my computer started booting to the system memory test in the grub menu instead of Windows. When I try to open the Start-Up Manager now it asks me for the password as usual and then does not start. How I would change it back to windows for the default? I'm running Ubuntu 9.10.
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)
A while ago I moved partitions from sda1 to sda6 because the original partition wasnt big enough. So when I update grub (now grub 2) it resets everything to sda1 and I've no idea how its doing it. Does anyone know where grub 2 gets the default partition from or does it just select sda1 automatically?
Today I fresh installed the latest stable version of debian (jessie) with gnome from the USB DVD image for a 64bit machine. Everything got fine except the graphic driver, I think.
Now Gnome 3 is running but graphic is super slow. My previous debian/gnome 3 ran much better and I think there is a problem with the graphic driver.
I'm on an thinkpad t61.
Processor: Intel Core2 Duo CPU T7500 @ 2.20GHz × 2 Ram: 4GB Graphic: VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
Now the graphic is: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits) which is likely wrong. If I'm not mistaken llvmpipe is pure slow software acceleration.
Moreover this was different on my previous debian (wheezy), which was faster. Anyway I don't know what " Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits) " is and it was for sure different in wheezy.
According to apt-get I have the latest intel graphic divers installed. So maybe this an X-org confic problem?
A couple of days ago I asked why my pc changes the wireless card name.It switches between AR9285 ( right) and AR5008 ( wrong). Well, it is not the case. When system identified with AR9285,it loads ath9k and I can connect to the router. When system identifies my card as AR5008, no kernel module is present at all ( lspci -k). The wrong card name occurs only when system rebooted. If I gracefully shut down the system, it always comes up with a right name for the card( AR9285). So, how to force the system identify my card right no matter if I reboot or shut down?
I've been working on the setup of a FTP server on my Debian system for the whole afternoon. But I can't get it straight! Normally I get it working in just a second, but it's been a while I guess.
I installed only proftpd-basic and it's default dependencies. Should be enough right?
My configuration files are as follows:
I created the user zeitgeist, gave it a password, group and a homedir. Group of the user is nogroup and the homedir is correct with the 755 permission. My port 21 for FTP is open I tested it with nmap -p 21 [ip-address].
My Filezilla client tells me that at first he is connecting, then the connection is established, And then the connection is closed by server.
Using Debian 5.0 Stable, with all current updates, if I type \192.168.0.249 I get samba access and can use all the shared files ok.if I go via the network the computer should be called \squ-eee-zeboxserver but instead comes up as \SQU-EEE-ZEBOXSERsqu-eee-zeboxserver which when clicked gives the attached error.
I've recently installed a new graphic card after my old one started to go belly-up and it works nicely in X with twinview. The card have one VGA, one DVI and one HDMI. I have the monitor connected to the VGA and my projector connected to the DVI. However, when I boot the monitor (VGA) don't receive a signal. It is dead until X comes up (and when X comes up it does exactly what I want, it uses the VGA monitor as the main screen).
I had this setup on my old card to and it worked fine. Grub and boot console showed on both screens and I never had to tweak anything to make it do this.
how to enable the VGA outlet, either have boot enabled or only the VGA enabled (either way is fine by me but I really want to see Grub and the boot console on startup).
I've got a strage problem with openssh-server on debian lenny. I've done setup of sshd and basically everything works fine. I can check the fingerprint of the ssh-keys on the server and it matches with the fingerprint shown on the client for the first connection. so the key is stored in the known-hosts-file on the client.
The problem occurs after a "connection reset by peer" (i guess when the connected client goes to sleep or a timeout occures)!
After such a reset, when I try to connect to the server, the banner "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" appears and the shown fingerprint of the server-key is totally wrong (it differs from the one on the server, BUT it is everytime when this problem occurs the same fingerprint). If I nevertheless remove the correct key from the known-host-file and accept the new key, I still can't login (permission denied).
To fix this situation temporarily I just need to restart the networking on the server. After the network-restart I get (again) the correct fingerprint of the server-key and can login without problems. Until the next connection reset.
At the moment I am having a problem with the MySQL server on my VPS. It's a completely fresh install of both Debian 5 and MySQL but the problem is upon logging in I get:
[root@boris ~]#mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Hey guys. I have a client computer PXE booting from my host computer and it is supposed to give the client the ip address 172.16.0.100 however instead it gives it the ip address 172.16.0.208.
I have this set up working with two other computers and there is no noticeable difference other than mac addresses for the network card.
Here is an extract from my '/etc/dhcp3/dhcpd.conf' file...
I have quadruple checked the mac address of the client and it is definitely "00:07:E9:32:16:81" so why is it not giving it the IP address that I have specified?
Installed 6.01a from DVD 1 on a system with 4GB ram. Installer installed amd64 version by default. When I try to install amd64.deb files I get "wrong architecture" error messages from the package manager. root@Laptop-RalphDeb:/home/ralphq# uname -r 2.6.32-5-amd64 root@Laptop-RalphDeb:/home/ralphq# uname -p unknown Why I can install amd64 programs and why I get unknown for the uname -p command?
having major trouble installing Debian.erased the data on one of the partitons that used to hold Vector Linux and tried to install Debian on but it failed for some reason.Since I'm dead tired (well, was) I thought I would call it a night and just wait until tomorrow to finish the installation.So, I rebooted my computer and all it would do is this:
It would just do two or three rows of 99's and then it would hang. Does anyone know what is happening? Right now I have Windows on this computer and I can't even boot into that. The data for Windows is safe but I just can't boot into Windows for some reason.n erasing sda6, did I accidentally erase LILO too (Vector was the first option on LILO)?If someone has posted this problem in the past
every since i hooked up the internet to my computer i've had nuthing but problems everytime i boot up. in gdm, the greeter failed everyother time. so i switched to kdm. now everyother time the screen freeze's.
Want to boot from ISO on usb with grub. Both the netinst and hd-media netinst initrds have no findiso/iso-scan/fromiso option that allows me to locate the iso file in question. Is there a boot parameter that does it? Do I need to download a new initrd version? Is there any debian build AT ALL that allows mounting iso from usb?
How can I run a Debain ISO from a USB using GRUB4DOS like Boot Multiple ISO from USB (MultiBoot USB)? This way I can keep several install disks on one USB key.
This entry didn't work:
title Debian live find --set-root /debian-504-amd64-CD-1.iso map /debian-504-amd64-CD-1.iso (0xff) map --hook
My system is a three days old Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) with an Intel(R) Core(TM) i7 CPU 60 @ 2.80GHz. It does start, goes through the grub and then spits out strange messages and just freezes before the KDE can be started. I have to restart again, until it really boots everything. This is happening in a random pattern.
I activated bootlog, but as far as I can see, the log only tracks, if the system is really booting. So I also have the dmesg copied into pastebin. These are the only two logs I know, now.
The code of the boot log goes here- Wed Aug 17 10:24:19 2011: Setting parameters of disc: (none). Wed Aug 17 10:24:19 2011: Setting preliminary keymap...done. Wed Aug 17 10:24:19 2011: Activating swap...done.
I wanted to be able to have a boot option to just use a command line with no X running at all. What I did was remove the gdm3 link in rc5.d . Then in /boot/grub/grug.cfg I made a new menuentry that is exactly the same as the default but I changed this line:
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3e926e70-cb92-4847-997c-37aabda532ff ro quiet to this line: linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3e926e70-cb92-4847-997c-37aabda532ff ro 5
This worked. It gave me a command line interface with no X running.
My question is is this the recommended way in Debian? If not what is?
I have been using Linux for a very long time but I used mostly Slackware. I tried Redhat for awhile but really hated bluecruve, shows how long I have been using Linux. I have played with other distros but I always went back to Slack. But I really dislike KDE4 so Slack is no longer an option. KDE4 reminds me of a 12 year old girl that got a big box of makeup and had to use every bit of it. I now am using Debian on my laptop. And as aside I gave my 16 year old daughter a laptop for her birthday. She used the included version of windows 7 for awhile but then asked me what would be a good Linux distro for her. I showed her distrowatch and told her to look at the top distros. She then asked me to help her put on Debian. She loves it. She is a very good musician and song righter, She actually gets paid for doing that at 16, and really likes the programs in Linux to work with sound files. She also does MIDI stuff with our Yamaha Clavinova.
Now we are trying to do things the Debian way and it is a little different then other distros. So did I do the command line thing they way it's recommended in Debian. I have looked on line but all I could find was working in a shell and that is not what I was looking for.
First happened after the installation of VirtualBox OSE. Freezes right afterStarting GNOME Display Manager: gdm3and, in one instance, on the following line. Doesn't accept input and the cursor stops blinking on either state. VirtualBox's drivers are one of the closest lines to the last one and, in one instance, one of these lines reported an error. I can boot recovery mode and have already removed VirtualBox. Given it was installed with a live netinst CD image (on a USB stick) and I have a history of bad installations with this image, I'll try to install the normal CD image, although this will take some time.
Specs: HP Mini 110-3110BR Intel Atom N455 (1,66 GHz) 160 GB (5400 RPM) HD 1 GB DDR2 SDRAM (1 Dimm) 3 USB ports 1 SD/MMC port No CD/DVD drive Latest Debian
I have been mucking around with Linux on and off for a while now, but this is the first time I have used a Debian distro. I have to say, it's been a pleasurable experience with it all going easily from install to now. I installed it to my external WD 1tb drive. It worked first up not a worry in the world. I have 2 internal drives also and when the installation of Debian was finished I had a GRUB with all operating systems duly noted. I was able to choose at start up between my Windoze 7 on HD0 and my PCLOS on HD1 and my Debian on HD2. (sda, sdb, sdc).
I noticed today as I was booting into Debian that the Windoze option was gone from the GRUB. I thought I'd put my trusty GRUB disc in, reboot and have the issue sorted in no time, as I have in the past. No such luck. After trying almost every option on the super grub disc I have a list of errors, 15 file not found, error 6 mismatched, error17 can not mount and error 12 invalid device. The only thing I can crank up now is windoze and whilst I have had a pretty good experience with win 7, I would like to have the option of choosing between the 3.
I am using Debian Squeeze, having installed it after Windows 7, each on a separate HD.
What happened was that Win7 became unbootable and, after failing to recover it, decided to live without it.
After a (happy) week of Windows-free life, I'm wondering if I can safely remove GRUB ("Grub-pc" and "Grub-common" are installed) since, as far as I know, GRUB is there only to boot/load more than one OS?