Installation :: Change The Boot Partition - Error: Bad File Or Directory Type?
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
ADVERTISEMENT
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
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
View Related
May 5, 2010
I'm trying to define the partition table type (I want to set it to msdos) for an automatic installation using preseeding file. (Why? I want to setup a software RAID 1 with two 2TB disks, by default the installer uses gpt partition tabless on those disks, where it's tricky to install grub(2), as there is no mbr, and the root partition is on a md device) During manual installtion it is possible to set the partition table type (by setting debconf priority to low).
[Code]...
Does anyone know what I have to put in my config file so that a msdos partition table will be created Also any other solution is welcome. I just want to have my root partition on a raid 1 and have grub installed, so that it boots up (No other OS is installed on the boxes. Debian squeeze is used)
View 2 Replies
View Related
Oct 10, 2010
I grabbed the new lubuntu 10.10 from [URL] but it turns out I'm having a problem installing it on my netbook (Asus Eee PC 1015PED). While installing, this error pops up:
Quote:
The attempt to mount a file system with type ext4 in SCSI2 (0,0,0), partition #1 (sda) at / failed.You may resume partitioning from the partitioning menu.I'm installing via USB and have selected the option to erase everything and use the full HDD.
Edit: I had Xubuntu installed before.
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
Apr 14, 2011
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
View 9 Replies
View Related
Jan 22, 2011
After boot, Fedora 14 gives the following message, on my HP Pavilion dv2701tx laptop.
Starting udev: udevd-work[454]: error opening ATTR{/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/power/level} for writing: No such file or directory
I suspect it has something to do with my Authentec AES2501 fingerprint reader. I need it to work for my project, but it's not working, even though it works fine in the Windows 7 installed on my system.
View 3 Replies
View Related
Feb 19, 2011
Okay, so on occasion when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory]
[mount: mounting /dev /root/sys failed: no such file or directory]
[mount: mounting /dev /root/proc failed: no such file or directory]
[code]...
I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.
View 3 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
Aug 28, 2010
on a dual boot can one change the size of each partitioned section of the boot once both sides are installed ?i have a 500GB disc and i have lucid on 307 Gb and maverick on 145GB i did this so i could test mavericknow i would like to change the split to say half and halfcan i do this?i have mountmanager installed but i am not sure how to proceed
View 8 Replies
View Related
May 20, 2011
i was trying to follow a guid about how to change the icon for a specified file type (in my case .c,.h,.asm,cpp) , and that by adding the icon png to the /usr/share/icons/gnome/48x48/mimetypes/text-x-csrc.png
after following the procedure the icons for all .c files have changed but not in the file manager icon view
only in List view as you can see from the screenshot
so how can i set those icons?
View 4 Replies
View Related
Sep 10, 2010
When I run lilo (/sbin/lilo), it messes up my /boot partition. Next time I try to mount it after running lilo, I get an error: "mount: Stale NFS file handle" (I define -t ext2). My /boot partition is ext2, mounted locally, and not nfs. Then I do fsck /dev/sda1, and I get several: Free blocks count wrong for group #0 (7665, counted=5063). Fix<y>? I say yes to all and it works normally afterwards. This happens only after I run lilo. Lilo is installed in MBR.
Here is relevant configuration:
Code:
root@darwin:/home/cabrilo# cat /etc/lilo.conf
append=" vt.default_utf8=0"
boot = /dev/sda
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
prompt
timeout = 30
change-rules
reset
vga = normal
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
This is my partition table:
Code:
root@darwin:/home/cabrilo# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8f800200
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104422 83 Linux
/dev/sda2 14 144 1052257+ 82 Linux swap
/dev/sda3 145 3432 26410860 83 Linux
/dev/sda4 3433 19457 128720812+ 83 Linux
And this is my fstab:
Code:
root@darwin:/home/cabrilo# cat /etc/fstab
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext4 defaults 1 1
/dev/sda1 /boot ext2 defaults 1 2
/dev/sda4 /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
View 4 Replies
View Related
Aug 12, 2011
I installed g++ using package manager and support libraries using sudo apt-get install build-essential cmd, but I'm not able to compile a socket code. It gives me the following error:
server.cpp:1:26: error: ServerSocket.h: No such file or directory
server.cpp:2:29: error: SocketException.h: No such file or directory
View 1 Replies
View Related
May 16, 2010
How do i change file type associations? i looked but i don't see anything...i'm having that problem where google chrome won't stya set as default and i fixed it in fedora by changing the file associations manually :-)
View 1 Replies
View Related
May 25, 2011
I am using Ubuntu 11.04 - the Natty Narwhal with GNOME 2.32.1. I want to change icon of specific file type (like all files having .py or .pl extension). I Google it and have tried all the possible methods but nothing works
View 1 Replies
View Related
Jul 29, 2011
how to change the file type of /opt to vfat from ext 4. during installing fedora 15 (64 bit) on dell inspiron 1545, i choose file type of /opt as ext4 but now i have realised that it should be vfat. ans second problem during the installation the option of repository appeared and i choose "customize later ", and now i have to add some lib in "software tab", how can i achieve that?
View 3 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 am trying to install minisip on ubuntu-9 server ,but when I run configure error occurs ,as shown by the config.log,
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
[code]....
View 2 Replies
View Related
May 23, 2010
I use Markdown to store all of my source documents. Unfortunately, the .md extension maps to application/x-genesis-rom under Ubuntu. I'm not sure why that would be a system default MIME type, but I'd like to change it.
I've tried using:
Code:
gksu assogiate
to modify my file type cache. Unfortunately, even as the SU, I can't modify the entry for this file type. The "Remove" button is inactivated for the entry. (See attachment.)
How can I get rid of this (obsolete?) file association? Alternatively, how can I make my new one (text/x-markdown) take precedence?
View 5 Replies
View Related
Jan 15, 2010
how to install libxcb-xlib.so.0?When I start one software and it complains that
"error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory"
I have lastest libxcb1 installed and searched in my system but didnot find a relevant result.
View 3 Replies
View Related
May 9, 2011
Attempt to upgrade 10.10 to 11.04 server installation (more or less plain vanilla) gives:
[Code]...
Tried reinstalling the obvious packages related to this, no change. Aptitude updates to 10.10 function without problems.
View 2 Replies
View Related
Apr 29, 2010
while upgrading to Lucid, I got the following error:
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/dbus_1.2.16-2ubuntu4_i386.deb (--unpack):
unable to open '/lib/dbus-1.0/dbus-daemon-launch-helper.dpkg-new': No such file or directory I tried to just add the dpkg-new extension to the existing /lib/dbus-1.0/dbus-daemon-launch-helper - to no avail. How can I finish installing dbus?
View 1 Replies
View Related
Oct 15, 2010
Hi,
Can you help me to install OpenCS PKCS on Ubuntu 10.10 with Firefox 3.6.
I have smard card reader Gemplus
Here is error:
HTML Code:
dejansoftware@ubuntu:~$ pkcs11-tool --show-info
Error: can't open /var/run/openct/status: No such file or directory
Error: can't open /var/run/openct/status: No such file or directory
Error: can't open /var/run/openct/status: No such file or directory
[code]....
View 1 Replies
View Related
Oct 9, 2010
Harddisk, file and folder not access, partition 0x63, sco unix
View 4 Replies
View Related
Feb 22, 2010
I keep getting this error during the XP and Linux Ubuntu 9.10 dual boot installation. I have tried many things. Here is the current status of the installation: I have used wubi.exe to install the contents onto the drive. I did not install it onto my windows C: Drive because my Dad does not want to mess with it anymore. We have accidentally blown up Windows Twice trying to dual boot already. So we have another drive in our computer that we have it installed on so we don't mess with Windows. Ok so every time I boot up the computer it goes to the dual boot menu i choose Ubuntu and it tries to finish the installation. Whenever i get to the part where it says "Setting up Partitioner"(Or something like that.), a pop-up appears that says "No root directory is specified. Please correct this from the partitioning menu."
I am pretty sure that the installer is supposed to make the partitions for you. It is impossible to close out the pop-up so i had to hard boot the computer. Then i went into the Linux Ubuntu Demo Mode. I used GPartEd to create the partitions manually. I came across the problem that there were too many partitions on the drive becuase we had some other partitions that we needed on that drive so I had to create an Extended Partition to house the Linux Partitions (For more information on my partition setup, see the bottom of the post.). While still in the Linux Demo I had clicked on the "Install Ubuntu" icon. I got through the first 3 steps (The steps where it askes for Language, location, etc.) After that it went to some setup partitions menu but nothing was on it so i clicked on "Forward" and it said "No root directory is specified. Please correct this from the partitioning menu." That is as far as I am right now.
[Code]...
View 9 Replies
View Related
Nov 18, 2010
after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.
View 7 Replies
View Related
Oct 23, 2010
i used to have ubuntu 9.i decided to move to sabayon so i used the live cd to install it ,resize the ubuntu partition and use the remaining space for sabayon.while the resizing procedure i got an error(i dont have a copy of the error log file but i know it has something to do with an anaconda process).i aborted the installation and the result was an filesystem that couldnt be mounted.when i try to mount the hdd i get this:
Code: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so and this is what i get from fsck: Code: $ sudo fsck -f /dev/sdb1
code....
View 5 Replies
View Related
Oct 13, 2010
since the recent upgrade to Maverik every time I boot this error message appear on the top of the screen: "modprobe: Fatal: Could not load /lib/modules/2.6.35-22-generic/modules.dep: no such file or directory" fter that plymouth starts without any graphics and the first visible object is the login interface (GDM)
View 1 Replies
View Related
Dec 31, 2010
Is there recommended file system for boot partition. Debian default use ext2. Why? Can it be used ext4? I know the difference between ext2 and ext4. But why, currently in Debian, boot partition is ext2 and all others are formated with ext3...
View 3 Replies
View Related