Ubuntu Installation :: 10.10 Wubi Upgrade Seems To Have Corrupted Bash / Error "invalid Magic Number"?

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


ADVERTISEMENT

Ubuntu Installation :: Reboot After Update - Invalid Magic Number Error

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

Ubuntu Installation :: Dual Boot 10.04 LTS And CentOS 5.5 - Error "invalid Magic Number"

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

Debian :: 'INVALID Magic Number' - Grub2

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

General :: Adding A Kernel In GRUB For Kubuntu 9.10: Invalid Magic Number

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

Ubuntu Installation :: Partitions Magic Stuff And Windows 7 Got Corrupted?

Aug 16, 2011

i had ubuntu installed on my computer via wubi inside my windows 7 OS..after a while something went wrong with the partitions magic stuff and windows 7 got corrupted but ubuntu kept working Love ubuntu for that.since i had my stuff backed up and saved in ubuntu i thought i could make a backup off the root.disk file and reinstall windows and that what i did but then i installed ubuntu again via wubi but replaced the new root diskk with the old one that i had backed up.but now it says it cant find disk :O .so it takes me to a shell i seriously need to get that root disk to work or ima loose really important stuf.

View 3 Replies View Related

OpenSUSE Install :: Error Message Was 'bad Magic Number, Corrupt Superblock' With A Suggested Command To Try Another Superblock?

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

General :: "Bad Magic Number" - Error

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

Ubuntu Installation :: DEVED Error 1 "corrupted Filesystem Tarfile - Corrupted Package Archive"

Jan 24, 2010

I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.

View 8 Replies View Related

Ubuntu Installation :: DPKG - Invalid Character In Version Number

Oct 29, 2010

# sudo dpkg -i vasre-se-1.1.1~Debian_5-i386.deb dpkg: error processing vasre-se-1.1.1~Debian_5-i386.deb (--install):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'vasre-se':
error in Version string '1.1.1~Debian_5': invalid character in version number
Errors were encountered while processing:
vasre-se-1.1.1~Debian_5-i386.deb

I did install same package ok in 10.4 but now after I upgrade to 10.10 I am getting this error. I have already tried:
# sudo dpkg --clear-avail
# sudo aptitude update
# sudo aptitude upgrade

View 1 Replies View Related

Ubuntu Installation :: 10.04 Upgrade Will Not Boot "invalid Argument" Error

May 1, 2010

I did the online upgrade from 9.10 to 10.04, using 64 bit. I was forced to as the 2 solutions to my incedibly slow internet lookups both required new package installs, both of which failed, so hoped it was sorted out in 10.04 TLS.

It all went to plan until it tried to reboot. I get this:

mount: mounting /dev/disk/by-uuid/1e4e276c-8741-42e7-b52e-05c195790d28 on /root failed: invalid argument
mount:mounting /dev on /root/dev failed: No such file or directory

[Code].....

I don't have RAID at all a single Samsung 200GB SATA drive as the boot drive. Can someone tell me where to start looking? Also how can a TLS release screw up so badly on a common Gigabyte motherboard?

View 9 Replies View Related

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 View Related

Hardware :: Installing New RAID Card Causes Existing Arrays To Have Bad Magic Number

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

Ubuntu Installation :: Only Bash After 9.10 Wubi Install?

Mar 27, 2010

I tried installing Ubuntu 9.10 (64bit) using Wubi. Everything went fine except after final reboot when i choose to load Ubuntu i get only bash prompt.

View 3 Replies View Related

Ubuntu Installation :: Corrupted Grub After Upgrade To 11.04?

Apr 9, 2011

Yesterday all my troubles seemed so far away, because I've been using working system with Windows 7 & Ubuntu 10.10, but last night I decided to update to 11.04 from update manager. So, when upgrade was done, I rebooted and saw something like this:

"grub_env_export not found
grub rescue > "

Do I have a problem with MBR? Will it help, if I load from Ubuntu live cd and try to reinstall grub?

View 2 Replies View Related

Ubuntu :: Corrupted Partition On Hard Disk - Invalid Argument

May 11, 2011

Basically, I just installed Ubuntu over Windows Vista because I was getting fed up with the performance on it. During install I set up a partition, one for Ubuntu and one for data. However, my second, larger partition gives this error when I try to mount it...
Error mounting: mount exited with exit code 12: Failed to read last sector (976764927): Invalid argument

Hints: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

View 3 Replies View Related

Ubuntu Installation :: Upgrade To 10.04 From 9.10 Installed Via Wubi In XP

Jun 12, 2010

I install ubuntu 9.10 via wubi in XP. I upgrade it to 10.04LTS After reboot, I can't enter into neither ubuntu nor XP the screen prompt:

Quote:

erro:no such device:9c8f046f-d2c9-40c4-ab2b-a0c1266e62d2.
grub rescue>

There are three partition in my computer, i.e. , c:,d:,e: I intall ubuntu in d:

I have replaced wubildr with patch from [URL] but it doesn't work.

View 6 Replies View Related

Debian Multimedia :: Invalid MIT-MAGIC-COOKIE-1 Keyxhost: Unable To Open Display ":0"

Aug 19, 2011

i recently moved from Ubuntu to Debian(squeeze).. i am very pleased with squeeze except for this bug..I have this python script i wrote to change my wallpaper (through Gconf), the script would be called by cron from time to time.The problem i am facing in Debian is that this script stopped working.I am exporting the $DISPLAY=:0 in Cron, (this is how it worked in Ubuntu)..the cron job i used is below:

-----------
* * * * * export DISPLAY=:0 && /path/to/my/script.py
--------

so the above was not running...I redirected the output and this is what i got as error:

-------------
Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /usr/bin/dbus-launch terminated abnormally with the following error: Invalid MIT-MAGIC-COOKIE-1 keyAutolaunch error: X11 initialization failed.)
-------------

[code].....

View 1 Replies View Related

Ubuntu Installation :: Grub And 9.04 - Error "invalid Command" Or "invalid Execution Format"

Aug 16, 2011

Bottom Line: Dvd Drive died in my toshiba laptop and it was replaced (not before tech for some reason reformatted the Win7 partition... which was 100% un-needed, but thats beside the point now. I redid win7 (the tech installed vista) and am TRYING to "redo grub". Facts: The Slackware AND Ubuntu Partitions ARE STILL THERE and when i use SuperGrub Boot CD (which doesn't restore my grub by itself) to boot into slackware, i can see ALL THE CONTENT of both Linuxes still there including grub on ubuntu partition

(Tri-Boot: Ubuntu, Slackware, and WIn7) I had it working for two years or so, SO i know this "setup" works fine. I am A) Trying to do this as simply as possible. B) Trying to avoid the need to download a 800MB ISO (as seen for this issue on this forum) and trying not to have to reformat Ubuntu Partition (though I have the .Debs I have downloaded for it backed up ... all 1.7GB of them) I have /dev/sda1 as win7, /dev/sda2 as Slack and /dev/sda3 as Ubuntu (which contains Grub Legacy).. Every command I do seems to result in an error like "invalid command" or "invalid Execution format " (i think that second one is right) type errors. I compiled (awhile back) a few kernels for Slackware, but feel goofy that I cant figure what i this out (what i thought was going to be a "2 minute" fix)

View 4 Replies View Related

Ubuntu Installation :: Using WUBI, 10.04 Lts Failed To Boot On Upgrade From 9

May 27, 2010

I am using WUBI to run ubuntu.I upgraded to 10.04 from ubuntu 9 using the update option provided.On restart after the update,i get to grub rescue prompt.Here when i type ls i get the output as hd0 and hd31.I cannot login into windows because the option to select between windows 7 and ubuntu is not available anymore.

View 4 Replies View Related

Ubuntu Installation :: Upgrade Form 10.04 To 10.10 On Wubi Setup?

Oct 10, 2010

I've tried the Update Manager method but it didn't upgrade. How do get it to upgrade?

View 3 Replies View Related

Ubuntu Installation :: Unable To Boot Wubi After Upgrade

Oct 16, 2010

I just updated my ubuntu 10.10 installation inside windows (wubi) and after that I shut down my computer. Later on I switched it on again and was unable to boot ubuntu. Ususally I first get the 'Windows boot menu' and after i select ubuntu i get the grub menu. Now, when I select ubuntu in the windows boot menu I dont get grub after that but instead the computer restarts. Is there any way to fix this issue without reinstalling ubuntu.

View 2 Replies View Related

Ubuntu Installation :: Fails To Load After Upgrade From 10.04 To 10.10 On Wubi?

Dec 22, 2010

I had a 10.04 Wubi install on my Win7 notebook. I selected the option to upgrade to 10.10 from update manager. It downloaded all the updates, but reported that due to some problem, only a partial upgrade will be possible. I agreed. And now, when I select Ubuntu from the startup OS list, it just shows a blank screen and restarts within 3-5 seconds. What do I do??

View 5 Replies View Related

Ubuntu Installation :: Upgrade Wubi To Real Partition?

May 25, 2011

I've been using Ubuntu NR 10.04 LTS for almost 1 years now with dual-boot with Windows XP by Wubi and I had great time using it. Now I want to experience the full potential of Ubuntu by creating another partition just for Ubuntu alone since I heard Wubi makes a lot of trouble and works slower than independent Ubuntu install.

Here's my question. Should I really create another partition to get full potential of Ubuntu or should I stick with wubi? I haven't got any problem running Ubuntu with Wubi but my video playback sometimes gone haywire which didn't happen in windows especially .mkv files

If I should create a partition, how do I want to shrink Drive C: to get enough free space for another partition? Mine was Windows XP so it doesn't have shrink option in Disk Managament unlike Vista/7.

And last question... Can Ubuntu run Window games or MMORPG smoothly like Counter Strike and WarcraftIII? I did try to play it before but it run too slower in Ubuntu. I used Netbook Eee PC 900HA, 2GB RAM, dual-boot Windows XP Home Edition with Ubuntu Netbook Remix 10.04 Lucid Lnyx LTS.

View 1 Replies View Related

Ubuntu :: GRUB Error 22 \ Install Via Wubi, But Had To Format Partitions (can't Do It On Wubi )?

Nov 27, 2010

I wanted to install ubuntu via wubi, but i had to format my partitions (can't do it on wubi ) so i used a crappy program(i don't remember the name) to get rid of Backtrack4 , because i wanted windows kept for my mom.So, that was the sorry, i've ended up with a GRUB error 22, and a Backtrack4 CD stuck in my DVD-rom.So my question is: Can somewone tell me how to fix error 22? (i've seen some methods online, but i obviously can't put a Windows CD in my DVD rom because the Backtrack4 DVD is stuck in there.

View 4 Replies View Related

General :: What's A File System's "magic" Number In A Super Block

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

Ubuntu Installation :: Grub Broke After Wubi Upgrade / Sort It?

Aug 18, 2010

I beleive I had version 9.x installed. I upgraded once and everything was fine. I went the upgrade manager again and it found some more upgrades. The upgrade messed with grub. It then told me there were no new upgrades. Then I rebooted and it says

Try (hd0,0): NTFS5

Then the screen clears and there is some text I can't read and then it says command not found. Then it reboots.

Is there a way to fix this?
If not is there a way to recover the files from the disk image file.

View 1 Replies View Related

Ubuntu Installation :: Wubi Boot Failure After Kernel Upgrade

Nov 27, 2010

I've been running Ubuntu 10.04 AMD64 on our home theater PC through a wubi installation. Yesterday the system update installed a new kernel and today there is a problem booting the computer so I'm reluctantly using Windoze to type this. there isn't much information: the computer has always booted fine before the kernel update. When I select Ubuntu in the boot menu the screen goes black and the computer restarts. No error messages, no GRUB menu, just a blank screen before restart.

Computer: Dell Hybrid 140G, Intel Core 2 Duo T5800, 4GB RAM

View 4 Replies View Related

General :: Fatal: Bad Magic Number In Executable `prime' (not An Executable?)

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

Programming :: Bash: Printing The Line Number In Bash Script?

Feb 4, 2011

I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any errors happen I just exit. And I would like to add the line # of the script where the error happened.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved