Debian Installation :: Grub Error 18 With Lenny While Booting
May 7, 2010
I recently did a single boot install of Lenny-xfce on a Compaq Armada laptop. There were no errors and grub indeed found that Lenny was the only OS on the hard drive and installed itself on the MBR. My problem is that I'm getting an error 18 when booting the freshly installed system from hard disk. I booted into rescue mode and started a shell to take a look around. There are files on the drive and /etc/grub exists. device.map shows dev(0,0) as being mapped to /dev/hda. A search on the forum for "grub error 18" came up with nothing.
View 2 Replies
ADVERTISEMENT
Sep 1, 2010
I have a dual boot computer. I seem to be having a bit of a problem with Grub lately. Every time I do any kind of update in Debian Lenny AMD 64 it borks my Grub. The first time I had to change a few lines in menu.lst (hd1,1 to hd0,1), no problem. The second time, things went downhill fast and G-Parted was giving me errors on my NTFS partitions. I had to do an XP repair, fixboot, and I had to reinstall Grub completely to the MBR.
Now, I having a "Grub Loading stage1.5. Grub loading, please wait.... Error 22". All I did was update Debian Linux and shut down. From my initial searches this is an error relating to not finding the correct partition. I have booted with a G-Part CD and it shows all my partitions. I do have a Windows XP Home boot cd if I need it. Here is my partition outline if you need it:
/dev/sda1 NTFS (Windows) flags--boot
/dev/sda2 Ext3 (Linux)
/dev/sda3 FAT32 (shared space between Windows and Linux)
/dev/sda4 extended
/dev/sda5 linux-swap
View 6 Replies
View Related
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
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
Jul 22, 2011
I am having trouble getting FEdora 15 running on my MacBook Pro. I had Fedora 15 installed before on this MBP before, so I know it works. I basically followed the good old instructions of
1. Create a Windows partition in bootcamp (rEFIt was already installed from trying to get ubuntu running)
2. Boot from disk and install in Windows partition with bootloader on installed on the / partition
3. Install, reboot, and resync the MBR using rEFIt partitioning tool
4. Shut down the computer and start up on the parition you installed linux on
Now I get a grub error code...
View 2 Replies
View Related
Oct 5, 2010
Have a little experience with backtrack 4, which is a Ubuntu distro. I'm changing to Lenny due to hardware limitations on my laptop, an older Dell inspiron 7000.
Here's the specs :
400 MHZ,
120 G HDD parted as C: = 20G (has bad sectors, left blank) and D: = 20G Windows part
128 Mb low density RAM
ATI Rage Mobility ( not sure of video RAM, I think 8 Mb)
Now I liked running BT and liked the linux work, so when the BT install went south I started to look for another linux distro I can run, the BT tools I use are linux after all. Here's where I hit my stump. I decided to go with the Lenny distro, it already has some of the tools I need, but the first time I installed I had the HDD like this 20G, 20G, 20G,20G, 17.??G. I had windows installed on C: (of course, no problems, yet)
After I installed lenny to D: via an iso I downloaded, the Debian GNU/Linux 5.0.6 "Lenny" - Official i386 xfce+lxde-CD Binary-1, BTW first install was from booting from the disk. After reparting, format, etc. of the install, GRUB boot loader detects my D: Windows, great. Reboot to GRUB boot menu, select ddebian, and it loads...cool, until I realize I don't have synaptic, the tools, and apt isn't going to work unless I can load the linux driver from the cdrom...which I can't find.
Reboot...windows, internet for answers I'm thinkin. GRUB loads fine, select windows and get the following error message "Windows can't start because of hardware configuration problems. Could not read from selected boot disk, check boot path and hardware. Check configuration manual for disk configuration."
It took three days to get Windows reinstalled, and a LL format (zerowrite the drive) but during the process I discovered a possible hdw issue...bad sectors on the C: hdd. Solution: C: 20G = unused, D: = Windows xp. Worked great. No more windows issues, so try it again. This time I used the disks installer from windows. Everything started great, boot menuselected debian, install-graphic, but this time I let the part manager create a drive, 20G from the free space an it appropriately made it's swapfile...when lenny booted it was good, but still no synaptic, cd/rom, couldn't browse the computer.
Reboot to windows to get instructions from someone that really knows what's going on...no windows. exactly same message as before. I was able to boot into debian okay, but couldn't find any drives, utilities, wasn't very much, but I needed my windows and the internet to get lessons. I am familiar with the terminal console and KDE. Can use apt for updating, but prefer using the synaptic. Why does my windows keep disappearing? If I can solve the dual boot issue I can learn the system casually. Right now my config is: C: = 20G, nothing here, still haven't run a scandisk either...next on todo list. D: = 20G Windows install...what I'm using now. I'm not going to attempt to reinstall debian until I receive a efinate answer to the dissappearing config, or boot capacity. Oh, yeah, Did try a fdisk/mbr and fix. this didn't bring it back either.
View 11 Replies
View Related
Feb 21, 2015
I'm trying to manually boot (from the GRUB console) into a system set up as follows: crypt partition -> LVM -> root LV, and I'm having some trouble figuring out how to do this from the GRUB console.
I have successfully manually booted a system which is set up as just LVM -> VG -> root LV. All I have to do is load the LVM module. In GRUB, that partition shows up as (hd0,gpt5). Once I load the GRUB LVM module, I can see the logical volume within the LVM as well. (My volume group name is "caesar", and the single logical volume is named "root".)
Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod lvm
grub> ls
... (lvm/caesar-root) ...
It's fairly simple to manually boot:
Code: Select allgrub> set root=(lvm/caesar-root)
grub> linux /vmlinuz root=/dev/mapper/caesar-root
grub> initrd /initrd.img
grub> boot
Where I am having difficulty is in trying to insert crypt before LVM. I can set up such a scheme, and put a minimal installation on it, without issues. It's booting into it upon reboot that I can't figure out. Once I load the GRUB crypto, cryptodisk and luks modules, I can mount the crypto partition:
Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod crypto
grub> insmod cryptodisk
grub> insmod luks
grub> cryptomount (hd0,gpt5)
Attempting to decrypt master key...
Enter passphrase for hd0,gpt5 (<long hex string here>): <type my password>
Slot 0 opened
grub> ls
... (crypto0) ...
At this point, GRUB sees the crypto partition as (crypto0). But the GRUB LVM module doesn't see "inside" of the crypto partition, so I don't see the root logical volume within the LVM listed; all I see is (crypto0).
Code: Select allgrub> insmod lvm
grub> ls
... (crypt0) ...
Setting it as root doesn't work:
Code: Select allgrub> set root=(crypto0)
grub> ls /
error: disk `crypto0' not found.
So, How do I get GRUB to "see" LVM inside the crypto partition?
View 0 Replies
View Related
May 14, 2010
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...
View 1 Replies
View Related
Jul 31, 2011
is it ever possible to do dual booting with grub(legacy) ever at all!. it is possible provided i take some pain, here is the link of that post [URL] i was coward and weak i didn't try that out then. but i did try it out. now so if u haven't seen the post .... I've installed Fedora 15 desktop(Gnome) with physical Logical volume called vg_fedora lv_root(ext4) ,lv_swap and lv_home(ext4), with 500MB /boot partition and had about 200GB free hard disk space ... so i wanted to install Scientific Linux 6.1 (because our school uses RHEL 6.1)
so, while running the installer I made (added) a logical volume lv_Scientific with ext4 FS and made its mount point (/) and used the MBR /boot which overwrote the Fedora /boot (completely OK and was as expected) i restarted after installation i got SL log in and as per the directions of the thread i copied the boot stanza from grub.conf of fedora 15 (which i already had copied and pasted into a text file and copied it from there)and pasted it into grub.conf of SL you may ask why did i choose same physical LVM too save swap space ... if i had made another physical LVM i had to make another swap ( i like LVM ... its cool)
completely unexpected happened Fedora now boots but not SL when grub starts i get this error 27 unrecognised commad and when i press <enter> i get grub menu with SL and fedora when i press on Fedora it works well i get my fedora login and i did login .. everything works fine but when i press SL it goes to the previous black screen grub error 27
[Code]...
View 14 Replies
View Related
Feb 18, 2010
Debian if my first OS and i want to dual boot Fedora12.Ok i installed Fedora12 and choose not to install the bootloader(gonna use the one Debian installed)What i'm tring to do in Debain is edit my /boot/grub/menu.lst
Here is what i have
Code:
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-1-686
code....
View 4 Replies
View Related
Feb 17, 2010
i had recently installed fedora 12 in a system running debian lenny in (hd0,0), its grub is installed in mbr and the grub of fedora is installed in the installation partition of fedora .I defined a separate partition /boot for debian but for fedora i used the available space for boot swap and /. i booted with live cd to copy the grub.conf of the fedora to add it into menu.lst of debian but i have got "error 15 : file not found".
[Code]...
View 3 Replies
View Related
May 10, 2010
I have a Dell VOSTRO laptop that I use for windows Vista. I have an old disk drive that I put into a USB case and now I want to use that for a Debian system. I do not want to install grub on my laptops HDD, if I do I need to have the USB HDD plugged in everytime I boot and i find that a real pain. I installed Debian on the USB drive with no problem and when it asked where I wanted to install GRUB I picked the USB drive ( I think ). Now when I interupt the boot and tell it to boot from the USB drive grub comes up with the correct menu but when I pick Debian I get the following messages:
Booting 'Debian GNU/Linux Kernel 2.6.26-2-amd64' root (hd1,0) Filesystem type unknown partition type 0xde kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sdb1 ro quiet Error 17: Cannot mount selected partition
View 7 Replies
View Related
Oct 12, 2014
ERROR: No configuration file found
No Default or UI configuration directive found!
boot:_
This appears when I try to boot Debian 7.6.0 from my USB drive
View 1 Replies
View Related
Mar 1, 2011
I installed 10.04 (clean install) on a 250G drive (partitioned to 107G for the system files). It was working fine, until I wanted to install Window$ for the use of Adobe stuff. I popped the Windows XP disc in, it loaded its files, then I tried to choose a partition for installation. There was an error saying that I can't do that, and needed to delete a partition blah blah. I thought it was too much trouble, so I quit and just wanted to use my 10.04. Booted, and it says "Error booting operating system" I WAS SHOCKED.
I tried to install grub (but don't need that right? I DO NOT want to dual boot now), but the usual method ( the sudo grub; root (hd0.0)...) doesn't work ,because something like "stage1" is missing. I tried many methods by still the same error. The reason I do not want a clean install is that I did many fixes on my 10.04 so that it would work with my EeePC 1001pxd, and I do not want to go through that again. I will be checking my email frequently on other computers if I have a chance.
View 1 Replies
View Related
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
Jun 24, 2010
i decided to install ubuntu in my PC,i downloaded the .ISO image and i installed it in my USB. After trying it and all that i observed that i really liked it and i decided to formally install it to my computer in the hard drive. When i reached the partition thing,i selected to dual boot with Vista and select between each them in every startup,when i clicked FORWARD it gave me an error which i did not read(because,again im a noob) so i clicked cancel.
Today i wanted to go through the process again and now really install it,so again i went to the time zone part and i clicked forward but then,instead of taking me straight to the partition phase,it appeard a window saying "The installer has detected that the following disks have mounted partitions: /dev/sda ...." I clicked yes,to unmount this partitions so it took me to the partition thing,once there i selected the option to install Ubuntu with Vista and select between them i neach startup,then i clicked forward and went to the username/computer name process,once i finished i continued to the next part,the installation,but i selected to import all of my WIndows VIsta default user data,after that i clicked forward and went to the installation process,i went down stairs to eat soemthing while it finishes,i came back and it was finished,it asked me to reboot so i clicked in Restart Now.
When it tried to boot,appeared an error saying: Error: no such devide found: #################### Grub load(or something like that) grub rescue: and it was a command line,since there i havent been able to boot into vista or Ubuntu,im really scared because is the first thing related to OS installing ive done,so i booted my USB and ran the trial and right now im trying to find out what to do from that trial version.
I just went to the INSTALL UBUNTU 10.04 LTS application under the System>Administration Menu and found out that in the partition phase the Install and allow to select between both systems in eahc startup option,i dont know what to do,i foudn out that my HD has still all its data(MUsic/Videos/Folders/Programs/ect.)its just that i cannot boot from it. Also in GParted it appears as /dev/sda1/ and a warning icon besides it,also when i go into information, thers this warning there [URL]
View 9 Replies
View Related
Feb 8, 2011
After finishing installation of Debian to a USB drive with XP on disk0 , the system does not boot and reports the Grub error 21. I tried install for 2 times with same results.
View 1 Replies
View Related
Apr 23, 2010
I installed debian etch on my system. Installation done successfully, but when it boots up the X server is not starting and showing error. Note : It is perfectly working with debian lenny. Configuration : Intel DG41RQ ,1GB Ram ,160GB HDD.
View 1 Replies
View Related
Dec 20, 2010
After one year of squeeze use without problem (and without upgrade) on a laptop and I decided to upgrade everything today. During the upgrade, I was asked what partition grub should handle. There was 2 choices /dev/sda and /dev/sda1. I checked only the last one and this is I think the source of my problem.
Now restarting the system, grub fails and reports
Entering rescue mode... error: the symbol `grub_xputs` not found and leave a useless prompt grub rescue>
I don't have a rescue cd at hand right now. I have a usb key with some old version of eeebuntu (my laptop is not a eeepc) and surprisingly I can boot on it.
View 6 Replies
View Related
Feb 1, 2010
I have a laptop with Karmic Koala in dual boot with Lenny. I need to reinstall Lenny however if I do that I will loose Karmic Koala in the grub screen because of the new version of grub that comes with Karmic Koala. Which means that I will need to reinstall Karmic Koala after Lenny so that they both appear in the grub screen at startup. If I reinstall only Lenny is it possible to use Gparted to change the boot back to Karmic Koala and have them both in the grub screen again? Or is there another way around it?
View 10 Replies
View Related
Feb 1, 2011
How to change boot loader from Grub to syslinux on running Lenny without damage the system?
View 1 Replies
View Related
Sep 19, 2010
when i changed the partion size on my new hdd when i booted up the computer it said grub 17 error and wouldn't load ubuntu
View 1 Replies
View Related
May 9, 2010
I have a server running debian lenny on which im trying to set up nfs exports.
My problem is that every time I try to mount the nfs share from a client machine (another debian lenny box) I get
Code:
The line in /etc/exports is:
Code:
exportfs -v gives:
Code:
I have searched everywhere I can think of to try and find a solution to this problem but with no luck.
All the posts I have found talk about ensuring that portmap is installed, which it is, and starting the services in the right order (starting portmap first, then nfs server), which I have done.
I don't fully understand portmap, all I understand is that it maps rpc ports to unix ports. How does a daemon register with portmap? Should it just do it automatically?
On the server, the output of rpcinfo -p is:
Code:
Is there anything else that could be configured incorectly to stop the nfs server from registering with portmap?
View 4 Replies
View Related
Apr 3, 2011
I'm dual booting Windows 7 and openSUSE. I attempted to start up my computer, and got ERROR 17 on the GRUB loading page. I am assuming this is related to me disabling the openSUSE uninstaller on startup in Windows.installer seemed completely superfluous.
View 9 Replies
View Related
Mar 18, 2011
my ubuntu installation has stopped booting after i deleted and again created one of my partitions (not the ubuntu partition but my data partition). but now when i switch on my netbook it says: error: unknown filesystem grub rescue>
i used gparted live to resize. this is my disk partition structure:
[Code]....
before doing this, my ubuntu partition was /dev/sda7, the swap partition was /dev/sda 6, and the data partition was /dev/sda 7.
View 3 Replies
View Related
Jun 17, 2010
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
[code]....
View 2 Replies
View Related
Nov 23, 2010
I have a dual boot system with ubuntu 9.10 x64 and Windows 7. Everything has been working fine for a a long time but yesterday I tried to delete an unused partition through the Disk Utility in ubuntu (System->Adminstration->Disk Utility) and everything was messed up. I used to get the "Grub error: Unknown filesystem". I managed to create an ubuntu bootable usb and followed some tutorials for fixing grub but all i managed to do is to get another error: "Grub error: No such disc". After some experimentation i got
"Grub stage 1.5" which gave me a grub> command prompt./dev/sda is the drive containing Windows and Ubuntu.
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 #6 for /boot/grub/stage2 and /boot/grub/menu.lst.
[code].....
View 5 Replies
View Related
Nov 28, 2015
I just installed debian from debian-live-8.2.0-amd64-standard+nonfree.iso and after installation, which finished without problems, I cannot boot the system. I get the error:
Code: Select allfile '/boot/grub/i386-pc/normal.mod not found
From grub-rescue via ls command I see that I don't have the i386-pc folder inside /boot/grub. I have only two files:
unicode.pf2 and grub.cfg
View 7 Replies
View Related
Jun 7, 2010
I cannot count how many times I have re-installed squeeze, and do all kinds of fixes to grub, but no joy. Every time, there is this ntoskrnl.exe error, and to re-install it. I thought my WIN XP may be corrupted, so I reinstalled it, and updated it with sp3 and all updates. Then I re-installed squeeze (reformatting all partitions). At the end, the installer ask if I want to install grub to mbr. I replied yes. After reboot, only the 2.6.32.3-amd64 and the recovery kernels show up on the grub screen, no winxp.OK, I booted into squeeze kernel and looked at the /boot/grub/grub.cfg file, and there winxp is not included in /etc/grub.d/30_os-prober section. In terminal, I typed
#os-propber and it found winxp in /dev/sda1
then I typed
#update-grub
and now /etc/grub.d/30_os-prober now show winxp.I rebooted, and winxp shows on the grub screen, and I chose winxp.It came back with "ntoskrnl.exe ...error... re-install ntoskrnl..."Here are the details:
fdisk -l
root@SHUM-AMD64:/home/shum# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
[code]....
View 14 Replies
View Related
Jun 10, 2011
I have been following this tutorial [URL]. When I get to the end of the installation and try to install GRUB to the /boot partition I have set up it throws a fatal error at me. No explanation other than it can't write to the specified location. I double checked all the partition settings which were the same as the tutorial then skipped the GRUB installation and finished. The only thing I can think of that might be wrong is that the 250MB partition size specified for /boot in the tutorial is too small.
View 2 Replies
View Related