Software :: Grub Error 2 - Bad File Or Directory Type
May 19, 2010
I am building centos - debian dual boot system. Each os has separate boot partition, both ext3.
Installed Centos 5.5 x86 with grub into MBR.
Installed debian 5.0.4 x86 with no boot loader.
Added debian to centos boot partitions grub.conf
Centos boots fine. When I tried to boot debian I got grub error:
Code:
Error 2: Bad file or directory type
Grub's command line auto compledion didn't work on debians boot partition - looks like it does't recognize that partition as ext3 (but when I booted centos and tried to mount debian boot partiotion - no problem it mounted ). And this is not single fs corruption - after another debian reinstallation the problem remained. Anyway recreating that fs using "mke2fs -j /dev/sdxx" solved the problem.
View 2 Replies
ADVERTISEMENT
Jan 31, 2010
I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)
When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.
I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:
1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?
2 - what am I missing?
(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)
View 6 Replies
View Related
Apr 7, 2010
after doing an upgrade to 10.4 and updating grub I get this message. how do I address this
[Code]...
View 2 Replies
View Related
Aug 16, 2010
A directory on my desktop has recently become inaccessible. The error message that is given when I attempt to open the directory is as follows: Could not display "nikki stuff", The file is of unknown type. I brought up a terminal and did an ls -l on the directory, which produced the following: -rwxrwxrwx 1 nikki nikki 314 2010-07-26 19:16 nikkis%20stuff.desktop Unfortunately, the computer is not mine, so I do not know much more about how this happened.
View 2 Replies
View Related
Jul 23, 2010
When setting up NFS what type of Linux file and directory permissions should you be familiar with?
View 1 Replies
View Related
Feb 1, 2010
A formerly working system now gives an 'error 17' at Grub instead of booting. Here are the facts I have gathered thus far.
$ blkid
n/a (no output)
$ sudo fdisk -l /dev/sda
Code:
Disk /dev/sda: 60.1 GB, 60060155904 bytes
255 heads, 63 sectors/track, 7301 cylinders
[Code]...
View 9 Replies
View Related
Dec 8, 2010
I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.
View 4 Replies
View Related
Jan 1, 2010
In the /boot/grub/ all the grub mod files show as music file type for Linux Mint 8. So is it really needed to correct this, and how to change this file type from some music application to the grub module file type association?
View 5 Replies
View Related
Jun 21, 2011
I get the following error whenever I launch bash:
Code:
mkdir: cannot create directory `/dev/cgroup/cpu/user/5900': No such file or directory
bash: /dev/cgroup/cpu/user/5900/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/5900/notify_on_release: No such file or directory
It seems like it's probably from this part of .bashrc:
[Code]...
What does this code do, why, and what's causing it to go wrong?
View 7 Replies
View Related
Feb 26, 2010
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m
error: can't perform indexing operations for <unknown type> type
sh: gnuplot: not found
Just to double check my work, I ran the following code:
y=[1 2 3];
plot(y);
View 3 Replies
View Related
Jul 3, 2010
I just recently installed a kernel, everything works fine after reboot except. When I use nano -w /boot/grub/grub.conf I get /boot/grub/grub.conf: No such file or directoryIs there something i have to do after installing a new kernel in Gentoo Linux.I can't access my /boot all that appears there is a symlink to /boot How can i see my kernels located in /boot.
View 3 Replies
View Related
Jan 26, 2010
I'm trying to compile a program and it gives me the following:
I checked cmath-util.h:46 and cmath-util.h:48:
I'm not a C person, and the author is unavailable so far.
View 5 Replies
View Related
Feb 4, 2011
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I had very imp data in d:drive
View 1 Replies
View Related
May 24, 2011
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
View 9 Replies
View Related
Jan 24, 2010
I previously had a C drive partitioned between karmic koala and windows vista. I now replaced the vista with windows 7 and as expected,the grub has disappeared I tried booting from linux Cd and going to root and typing find/boot/grub/stage1....but it returns-no such file or directory...what must i do to get the grub back.
View 1 Replies
View Related
Jun 10, 2010
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
View 5 Replies
View Related
May 22, 2011
I get an error when running slapt-get. The error is: "slapt-get: error while loading shared libraries: libsas.so.2: cannot open shared object file: No such file or directory".
I've booted the Slackware disk # 1 and unchecked everything except the libraries category and installed them. I rebooted and it still says this. I get this same error before I put the disk in and rebooted to install ALL libraries. I really need help. BTW, I can't load KDE.I found a pkg manager already installed called "slackpkg". But I really need help on this library issue!! I uninstalled it (slapt-get) anyway, so forget that!
View 3 Replies
View Related
Jun 9, 2009
I am new to Linux and I wanted to setup a dedicated game server on my notebook.
I've installed Ubuntu 9.04. I than created a directory named /home/phlex/kfserver. I downloaded the application binary from Steam. I changed the file permission with chmod +x hldsupdatetool.bin and now the file attributes are -rwxr-xr-x.
The problem is when I try to run the binary file. If I type ./hldsupdatetool.bin I get an error message "-bash: ./hldsupdatetool.bin: No such file or directory. It seems the OS can't find the file. I've downloaded the file several times thinking it may have been corrupt but it's not. I can delete the file, I can rename it and so the file is there. Sometimes Linux can be aggravating to use.
View 7 Replies
View Related
Mar 4, 2010
i have a problem with realplayer 11 i can't open it due to that error message
Code:
/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem
View 4 Replies
View Related
Jan 6, 2010
my squid show like this when i try create swap directory
[Code]....
View 2 Replies
View Related
Nov 12, 2010
Salutations,I've been struggling with getting audacious working for the past hour. I'm using synaptic to install it. When trying to run it from the bash, I'm getting the following error:
Code:
audacious: error while loading shared libraries: libmowgli.so.1: cannot open shared object file: No such file or directory.I tried to make /usr/lib/libmowgli.so->libmowgli.so.1 link, but it didn't help. Tried reinstalling audacious/libmowgli and a few others packages, but in vain, too.
View 2 Replies
View Related
Oct 15, 2010
Unable to install Ubuntu 9.10 on a new internal harddrive. The hardrive contains no operating system. This hardrive is the only drive present in the system.
Whenever the installation trys to mount the ext4 partition the following error appears: The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda) at /failed
Iv'e tried over and over to get past this error to no avail.
View 6 Replies
View Related
Jun 9, 2011
I'm trying to setup a keyboard-command to open my downloads folder. Simple enough. To get things started off I did $ gnome-open /home/user (my name where user is) and it opens my user home directory. But when I get to adding downloads to the end of it it gives me this $ gnome-open /home/user/downloads Error showing url: Error stating file '/home/User/downloads': No such file or directory As far as I can tell there is most obviously a downloads directory in my user folder. I also get this error when trying to open any other home folder, like music, or pictures.
View 3 Replies
View Related
Aug 11, 2010
I am having a problem installing SLES11 on a new server. It goes fine through the setup until it gets to GRUB, it gets me the following error message: Error occurred while installing GRUB
[code]...
I cant continue the installation without this
View 5 Replies
View Related
May 21, 2011
Ubuntu 9.10 was set up to handle the booting selection - previously I thought it was xp but Ubuntu 9.10 "did" it. The system started out as a xp / ubuntu 9.10 dual boot on a 400gb drive. xp has 210gb, ub has 80 and their is a 100gb shared storage. Xp was installed first and then I followed a guide over at linuxconfig.org to get ub installed so that I could select which OS was wanted at boot. Ubuntu manages the boot up menu (Went back to look at my notes from the original setup) The owner tried to update to ub 11.04 and afterall was said and done the machine now boots to the message
error file not found grub rescue I can't say if 11.04 was properly installed or not. Ask whatever you like and I'll give the best answer I can. I think the xp install is okay but I can't say for certain as I don't know how to boot it outside the bootmanager at startup. Data has been saved so if I have to blow it all away and start over I can but I'm hoping I won't have to.
View 29 Replies
View Related
Feb 13, 2011
gcc kk.c : kk.c:1: fatal error: gtk/gtk.h: No such file or directory compilation terminated.
View 1 Replies
View Related
Jul 21, 2011
If I type su, it gives me following error su: No such file or directory
View 5 Replies
View Related
Jun 15, 2011
I have peculiar issue..as follows We have a nsf mount file system mounted across 5 servers and keeping RMAN backups on that. Most of the days backups going through without any issue. But occasionally (monthly 3-4 time) it fails with the following error. But if we re-run the backup it goes through without any issue. There is no space issue at all. Almost 200 GB is free always is anyone experienced same error? How to solve it?
'ORA-19502: write error on file
ORA-27072: File I/O error
Linux-x86_64 Error: 2: No such file or directory
View 3 Replies
View Related
Jun 30, 2010
I copied g95 executable under /usr/bin which is clearly in my PATH. When I type g95, it says "bash: /home/username/bin/g95: No such file or directory". Why doesn't it look for somewhere else that is in my PATH?
View 5 Replies
View Related
Apr 1, 2010
My ubuntu stops when mounting system hdd. The screen display the following messages :
mountall:/etc/fstab: No such file or directory fsck from util-linux-ng 2.16 WARNING: couldn't open /etc/fstab: No such file or directory init: mountall main process (545) terminated with status 1 General error mounting filesystems. A maintenance shell will now be started. CONTROL-D will terminate this shell and re-try. udevd[560]: can not read '/etc/udev/rules.d/z80_user.rules. Ubuntu: clean, 474879/24231936 files/28016581/96898047 blocks root@i7:~# exit_
I suspect the disk manager pysdm that i had just installed today and it had crash during the previous session. The /etc/fstab file does not exist anymore and i cant rename the fstab.bak because the disk is read-only even for my root user
View 1 Replies
View Related