Hardware :: Always Getting Bad Magic Number In Super-block?
Jul 1, 2010
I've been setting up a number of netbooks for friends in a group I belong to. I am installing Ubuntu 10.04 and/or Linux Mint 9 on all of the netbooks. The netbooks are all identical. Everything has seemed OK until yesterday. I tried to set the label on the new disk using: # e2label /dev/sda newlabel The error is Bad magic number in super-block while trying to open /dev/sda. Couldn't find valid filesystem superblock.
But the filesystem seems fine. It is mounted. It booted up without errors. But all the e2* tools give the same error. So I checked another netbook with an identical fresh install of Ubuntu 10.04 32-bit. It gives the same error although the system appears to work fine. Next I went and checked my own netbook. It is identical except I swapped out the HDD for an OCZ Vertex SSD. I aligned the partitions and prepared that drive carefully. It seems to work great. But when I ran e2label on it I got the same error message.
All the other installs are fresh, clean, standard installs where I let the installer use the whole disk and do the partitioning automatically. All are using ext4. I did a fresh install of Linux Mint 9 and it has the same error as Ubuntu 10.04. Kubuntu 10.04 on my desktop gives the same error too.
View 1 Replies
ADVERTISEMENT
Jan 28, 2011
I'm working on a midrange NAS system basically running on Linux and I got to do some great testing today. The step-by-step lead me to using fsdb to corrupt the magic number on a file system in order to corrupt it / test the script that should fix it.
View 1 Replies
View Related
May 6, 2011
I get error 'invalid magic number' when using this
vmlinuz 2,417,247 bytes
if I use this:
vmlinuz 2,417,312 bytes
then later it complains about kernel mismatch
View 7 Replies
View Related
Jan 7, 2010
This has to be the sixth time I am going to have to reinstall Ubuntu (Can't get enough of that Linux greatness) in the past 6 months. I just don't understand what exactly is wrong, I don't install anything extra (but the ubuntu restricted extras) yet updates that ask me to reboot will take me to a GRUB command line screen and trying to boot through the command line interface gives me an, "Invalid Magic Number", error.
There should be an official tool for when problems like this come up, so that users like me can easily move their files off their HDD before reinstalling. I didn't come here to rant but, does anyone know what may be causing this everytime, how it can be avoided maybe even how to deal with the Magic Number error and boot in (I wouldn't mind typing in the commands every time BTW)?
My system
Hp Compaq 6730s
2.0Ghz 575 Celeron
4GB RAM
Intel X4500MHD
Broadcom 802.11b/g
View 2 Replies
View Related
May 13, 2010
I have two SAS RAID controller cards in a Dell server in slots 2 & 3, both with an array hanging off them. I went to install a third card into slot 1, but then when it boots it says two of my sd's have bad magic number in the super-block and it wants me to create an alternative one, which I don't want to do. If i remove the new card, the server boots perfectly like it did before I added the new card. Is the new card trying to control stuff that isn't hooked up to it because its in slot 1, so its confusing RHEL?
View 5 Replies
View Related
Apr 19, 2010
I've compiled and added a kernel in Gentoo before. It doesn't seem to go quite as smoothly in Kubuntu 9.10 These are the steps I followed: I unpacked the kernel in /usr/src and ran make && make modules_install succesfully. Then I copied the kernel in arch/x86/boot/bzImage to /boot/bzImage-2.6.32 This entry is the one given by Kubuntu:
Code:
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
[code]....
I just read the script that update grub uses. Changed the name of the kernel from xyz to vmlinuz-2.6.32-generic and it worked.
View 1 Replies
View Related
May 10, 2011
I've just noticed this morning that the number shortcuts that normally appear when holding the super key to show the Unity launcher are not there. The s, a and f shortcuts remain however. Also, just pushing the numbers that should be there doesn't do anything.
I've just upgraded from Maverick to Natty and things were mostly working fine until this. I'm not sure what changes have happened between now and then and I don't remember any major changes in that period.
I just tried to take a screenshot and opened GIMP to save it and I checked again and they have reappeared. So, I guess the new question is why did this happen? How can I solve this problem if it happens in the future? Should I mark this as solved? I don't really understand what happened either way.
View 5 Replies
View Related
May 14, 2011
After several crashes during videos it seemed like a good idea to fsck root. Downloaded the latest systemrescuecd and ran it at boot. The error message was 'bad magic number, corrupt superblock' with a suggested command to try another superblock. That failed with the same message. Tried tune2fs to force fsck at boot and got the same message. The drive is less than 6 months old and the installed system is working more or less ok. The command I used was 'fsck.ext4 /dev/sdc2'. What am I doing wrong?
View 9 Replies
View Related
Oct 3, 2010
i wanted to see the red hat side of things and do some virtualization with CentOS, so i am trying to dual boot ubuntu 10.04 LTS and CentOS 5.5. the machine is a laptop, toshiba A100 series. what I did was to create the following partitioning scheme via Ubuntu LiveCd
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19457 156288290+ 5 Extended
/dev/sda5 1 2103 16892284+ 83 Linux
/dev/sda6 2104 9988 63336231 83 Linux
/dev/sda7 9995 12623 21117411 83 Linux
/dev/sda8 12624 18800 49616721 83 Linux
/dev/sda9 18801 19457 5277321 82 Linux swap / Solaris
created an extended partition and in there have made sda5 and sda6 as / and home for ubuntu and sda7 and sda8 as / and home for CentOS. and sda9 as swap. I installed ubuntu first and then installed CentOS with no bootloader. Run sudo update-grub through ubuntu and now i have both Ubuntu and CentOS available. But when i select CentOS, i have an error which reads "invalid magic number".
I have grub2 installed, haven't downgraded or done anything to it and the ubuntu install is fresh, one week since i updated to 10.04 from scratch. I have found much contradictory stuff on google, but not something that provides a definite solution and also this post but the second command provided in the solution is one i cannot understand very well and it doesn't seem to work. what I am doing wrong here and how to make this work. I would prefer to do things via Ubuntu since debian stuff is what i am comfortable with and i am installing CentOS to learn not to do work on it.
View 1 Replies
View Related
Sep 3, 2010
I am trying to run Wattch simulator in linux.But it is giving the error below. what is this error and what do I do about it?
fatal: bad magic number in executable `prime' (not an executable?)
View 1 Replies
View Related
Jan 4, 2011
I tried the steps usually offered (modifying the grub.cfg file, replacing the wubildr files), it still wouldn't boot.
I booted in with the LiveCD to try to chroot into the environment and try running 'update-grub'. However, whenever I tried to chroot, it said it could not execute /bin/bash!
Trying to modify the grub commands manually (which originally gave the error: you need to load the kernal first), in the end said "invalid magic number"
There are some configuration things set in this installation I would like to not lose. Is it hopeless?
View 6 Replies
View Related
Mar 2, 2010
I loaded all required files inside the Innovate ARM board.When It starts booting from that location it is showing a error "Bad magic number" How I can get out of this error.
View 1 Replies
View Related
Apr 24, 2010
I need to monitor file reads&writes by all the apps. I have found a kernel feature /proc/sys/vm/block_dump. But it only gives me block numbers while i would like to know file names. How can i convert these block numbers to file names (if the blocks belong to a file, of course)?
View 3 Replies
View Related
Feb 28, 2010
How can I retrieve the block number(s) of a certain file in a file system (the blocks the file is using on the harddisc)?
I'm using the gentoo linux based SystemRescueCD, so I got plenty of tools installed which might get that information for me.
View 1 Replies
View Related
May 20, 2010
algorithm:breada
input: file system block number for immediate read
file system block number for asynchronous read
output:buffer containing data for immediate read {
if(first block not in cache) {
get buffer for first block
if(buffer data not valid)
initiate disk read }
if(second block not in cache) {
get buffer for second block)
if(buffer data valid) //line 1
release buffer else
initiate disk read //line 2 }
if(first block was originally in cache) //line 3 {
read first block
return buffer }
sleep (event first buffer contains valid data)
return buffer }
Here is an algorithm for block read algorithm. I have problem in
line 1: If buffer data is valid why is it releasing the buffer?
line 2: If buffer data valid why is it initiating disk read. It should have read directly from buffer?
line 3: It should be the first condition as if it is there in cache then it should return it without delay?
View 5 Replies
View Related
Apr 28, 2011
Is there an ssh or sshd parameter that can be set to block out a user after a set number of attempts tp login ?
View 1 Replies
View Related
Feb 1, 2011
i have recently had a house mate move in and he is using my wireless network, even though i asked him not to give out the network key to his friends either he has or they have hacked my network and are using it when they come over, is there a program i can use to monitor the number of computers that are connected to my network and block them, or is there a way i can just wee what is going on. They seem to just connect and i don't want to have to change the password particularly because that involves changing it on multiple devices.
View 1 Replies
View Related
Jun 5, 2011
how to use the <Super>ButtonX (<Super>Button1 for example for the enabled Compiz Screenshot plugin)? I also notice there is configurable buttons 1 throught 20 under the various options. At first I thought the ButtonX was a mouse button. Maybe it is with some anticipation of there being eventually being a possible 20 buttons on the mouse. I know the Super key is the Key with the Windows logo on it. But I don't know what to do to get the needed Super Key / Button combination. After having enabled Compiz's Screenshot plugin by its default, I don't get an image after hitting any of the Super key and mouse button combinations. I'm running Ubuntu 11.04.
View 2 Replies
View Related
Jul 12, 2010
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
[Code]....
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
View 2 Replies
View Related
Aug 29, 2010
I have been having a lot of trouble lately with installing from CD/DVD. The DVD reader/writer on this laptop is new. Nevertheless, trying to install Ubuntu onto an exernal HD, I get 'input output error on sr0 logical block (a large number) After a long time the booting proceeds to a point, but I never get the actual installation started, and have to shut down manually.
The CD is fine, says the Ubuntu-checker. I just installed using my sons laptop, and there was no trouble. Question: does this indicate a motherboard failure? A memory block damaged? Do you know of a diagnostic tool I can use to check the reading of a CD/DVD?
View 7 Replies
View Related
May 21, 2011
Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? cpu and nice are zero for those processes
View 1 Replies
View Related
May 30, 2010
The Bluetooth detects my mouse, but it asks for a "pin" before I can use it. What the heck? I never had to put a pin in to use the mouse on the Mac OS X side. If I can't use my magic mouse, I can't use Kubuntu! I don't have any usb mice around.
View 2 Replies
View Related
Sep 10, 2010
I really like the Plasmoid called Magic Folder.I looked last year for it for gnome, but there isn't an equivalent. I also searched screenlets, and no luck. Also screenlets seems to have fell out of development... I found out, however, that windows now has the magic folder, and didnt even change the name! Now it is a matter of pride. GNOME MUST HAVE A MAGIC FOLDER!
View 2 Replies
View Related
Apr 1, 2011
As i am posting in this forum you might already have guessed that I am a total linux noob, but I am a pretty faster learner. I know a few basic things but I feel like I am stuck with my problem.I want to send the Magic packet (wake on LAN) from my linux machine to another, but I am unsure how to approach this. I have google�ed my ass off but I am none the wiser. I found a few forums posts and programs that can do the trick and guides in how to use the programs but I have no idea how to install them.You have to know that my linux machine is a NAS server and has therefore only Konsole access (no GUI). As I said before I am pretty much a noob
View 16 Replies
View Related
Oct 1, 2010
how to get the card number and device number on system for attched USb audio device?
View 3 Replies
View Related
Mar 8, 2010
I want to install Parted Magic on my USB drive from my GParted live Cd. I don't want to install any OS. I have tried the procedure on Parted Magic's site but it hasn't helped.
Note: I am mainly stuck at this step:
Quote:
In Linux, write the Syslinux MBR to the USB drive (this is not needed when you have already a bootable MBR on the USB drive). A copy of mbr.bin is included in the USB version of Parted Magic. It's located in boot/syslinux. Change directory to the root of the USB drive that the Parted Magic files were copied to, and use this command:
cat boot/syslinux/mbr.bin > /dev/sdx
This file is located in this place on my PC as taken from the GParted file manager address bar /media/Leopard/Users/Piyush/Desktop/untitled folder/pmagic-usb-4.8/boot
Ummm... Could anyone write a command for this?
View 2 Replies
View Related
Oct 7, 2010
I have ubuntu 10.04 and winxp dual boot and if you leave magic jack plugged in the usb ubuntu will boot up to the desk top sometimes and freeze and other times nothing. No boot at all. Also had same thing happen with linux lime 9. For some reason the the magic jack when inserted into the usb of computer revents linux form booting. I thought ubuntu was messed up but when I put linux lime on drive by it self found out the magic jack was the cause mentioned this.
View 3 Replies
View Related
May 25, 2009
I am having trouble getting a certain program to work. It's called Magic Set Editor and it has a linux version. It seems to install fine, but when I press the link to run the program it always says there is no file type associated with this program. Here is the site to download it: [URL]. I've tried the full and reduced versions, and I tried building it from source, which I have no idea how to do. I am using Fedora 10. Also, I've gone to their linux guy and he tried to help, but has never used Fedora, and so nothing he said worked.
View 5 Replies
View Related
Jan 24, 2011
I've created USB bootable image of my Squeeze using live-magic and had the massage "Installation Finished".Now if I try to boot my system using this USB stick, I get the message:"Insert system disk in drive.Press any key when ready..."
View 2 Replies
View Related
Feb 16, 2011
I am using ascript for general users to back up usb drives to lto4 tapes.. I wish to ahve some error checking to check IF is there is a tape in the tape drive to check for the tape:
if i do a
sudo mt -f /dev/st0 status
i will get back a
mt: /dev/st0: rmtioctl failed: Input/output error
if there is no tape in the drive or
sudo mt -f /dev/st0 status
[code].....
View 4 Replies
View Related