Invalid Magic Number (Ubuntu 10.04) - Linux

Dinah avatar
By Dinah
at 2010-06-03T12:23

Table of Contents

小弟用的是wubi裝的ubuntu9.10
之前成功升級到了Ubuntu10.04 用了大概三天
但是今天早上更新了2.6.32-22 kernel的一些lib
我記不是很清楚 隱約記得有什麼2.6.32-22-image之類的

結果現在進入GRUB的開機選單選了kernel之後
會出現
error: kernel needed to be loaded first

而如果進入grub指令模式輸入開機指令的話
則會出現
error: Invalid magic number
這樣的錯誤訊息

請問有沒有前輩遇到和我一樣的問題呢?

我的開機指令如下:
sh:grub> ls
sh:grub> insmod ntfs
sh:grub> set root=(hd0,1)
sh:grub> ls $Boot
sh:grub> search --no-floppy --fs-uuid --set <UUID>
//上面這個<UUID>記得代換成剛剛查到那個
sh:grub> loopback loop0 /ubuntu/disks/root.disk
sh:grub> set root=(loop0)
sh:grub> linux /boot/vmlinuz-2.6.32-22-generic root=/dev/sda1 loop=\
sh:> /ubuntu/disks/root.disk ro quiet splash
Error: Invalid Magic Number

後面就沒打了..orz

--
Tags: Linux

All Comments

Freda avatar
By Freda
at 2010-06-08T11:35
能進windows 找grub.cfg 進linux 或用LiveCD 把grub2重新安裝
Irma avatar
By Irma
at 2010-06-09T16:14
請問如果想用grub.cfg進linux要怎麼作呢? 因為我上面打的
Rae avatar
By Rae
at 2010-06-10T14:56
開機指令就是我grub.cfg裡面的東西@@
Lily avatar
By Lily
at 2010-06-13T06:06
google“wubi grub2 loop”找到這篇 http://bit.ly/bIFBmH
Ivy avatar
By Ivy
at 2010-06-13T18:43
ls會看到? 對每一個 set root='(hd0,N)'
Delia avatar
By Delia
at 2010-06-16T17:00
再 linux /vmlinuz root=/dev/sdaN
Doris avatar
By Doris
at 2010-06-19T01:02
再initrd /initrd.img 最後boot 應該會找到磁區 暫時能開機
Andy avatar
By Andy
at 2010-06-23T07:19
主要是上面網頁提的 wubi 要重安裝或換 wubildr
Christine avatar
By Christine
at 2010-06-26T12:51
沒用過 查了一下 上面說的boot方法不適用wubi @@

mount未finalize燒錄光碟

Susan avatar
By Susan
at 2010-06-03T11:28
mount 未finalize的 燒錄光碟, 出現下列 訊息,好像是識別為空白光碟。 mount: block device /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superb ...

ubuntu遠傳行動寬頻3.5G網卡上網問題

Valerie avatar
By Valerie
at 2010-06-03T11:25
我是使用ubuntu 10.4 也設定好了行動寬頻上網 現在只要插上行動網卡就可以自動播接上網 但是一但ubuntu一抓到網卡上的隨身碟就離線了 退出或是安全移除裝置都沒找不到行動寬頻的上網了 請問要如何解決,謝謝 - ...

文字介面的選單?

Victoria avatar
By Victoria
at 2010-06-03T11:12
※ 引述《asleepme (扯...)》之銘言: : 請問一下 : 我想弄一個在command line下的選單 : 這是要透過script嗎? : 我有一份list : 希望呈現出來後有光棒可以上下左右選擇 : 選了後執行相對應的行為 : 請教一下要怎麼做 : 謝謝 如果想要透過shell script ...

緊急 有誰考過Linux國際證照 ?

Elvira avatar
By Elvira
at 2010-06-03T09:37
※ 引述《popohappy79 (傻孩子)》之銘言: : 我想問一下各位大家~ : 有誰考過Linux國際證照? : 我現在完全沒頭緒 不知道是否有誰可以給我的方向 我只考過 NCLP, LPIC 是當初順便問的 : 例如: : 1.考些什麼(我有去查過他有考三種) : LPIC、RHCE、NC ...

文字介面的選單?

Eden avatar
By Eden
at 2010-06-03T02:50
※ 引述《asleepme (扯...)》之銘言: : 請問一下 : 我想弄一個在command line下的選單 : 這是要透過script嗎? : 我有一份list : 希望呈現出來後有光棒可以上下左右選擇 : 選了後執行相對應的行為 : 請教一下要怎麼做 : 謝謝 你說的是ncurses RH的套件名 ...