Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




85 posts

Master Geek


# 81382 12-Apr-2011 12:22
Send private message

Have being to trying to fix this one for a while:


Problem

 

Gave up waiting for root device..common problems..

check root delay..

check root...

missing modules...”

ALERT!!! /dev/disk/by-UUID/7cdd379f-22d8-46c3-a683-113d17307fd7 does not exist”




 - sudo bash /home/........../Desktop/boot_info_script055.sh  is posted bottom of this post


 

The boot stops at “2-120023] usb 3-4: new low speed usb device using ohci-hcd & address 2.” thenit goes to  - initramfs – flashing cursor but keyboard inactive, (keyboard is microsoft, wireless)

 

Keyboard is active during post boot and available during grub menu.

 

I can boot through grub menu to older and present kernels.

 

 

Tried gksu gedit /etc/default/grub – to change root delay
 

Tried numerous other threads on different Ubuntu forums.

 

Was wondering if it is correct that Kernel is mounted on ext4 but when looking at grub, edit page it has insmod ext2, is this relevant, Have tried to change to ext4 in grub edit menu, then after boot - sudo update-grub, but reverts back to ext2, which might be a good thing as i dont really know what im doing;)

 

 

Grub edit page for Kernel.

 

recordfail

insmod part_msdos
insmod ext2 (is this correct)
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro rootdelay=60
initrd /boot/initrd.img-2.6.35-22-generic..
 

 

sudo blkid

/dev/sda1: UUID="7cdd379f-22d8-46c3-a683-113d17307fd7" TYPE="ext4"

/dev/sda5: UUID="c88ae04a-a1ce-48bc-8304-bac4d3aa228d" TYPE="swap"

 

ls -l /dev/disk/by-uuid/

lrwxrwxrwx 1 root root 10 2011-04-11 17:17 7cdd379f-22d8-46c3-a683-113d17307fd7 -> ../../sda1

lrwxrwxrwx 1 root root 10 2011-04-11 17:17 c88ae04a-a1ce-48bc-8304-bac4d3aa228d -> ../../sda5

 

# /etc/fstab: static file system information.

#

# Use 'blkid -o value -s UUID' to print the universally unique identifier

# for a device; this may be used with UUID= as a more robust way to name

# devices that works even if disks are added and removed. See fstab(5).

#

# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc nodev,noexec,nosuid 0 0

/dev/sda1 / ext4 errors=remount-ro 0 1

# swap was on /dev/sda5 during installation

UUID=c88ae04a-a1ce-48bc-8304-bac4d3aa228d none swap

 

Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for (,msdos1)/boot/grub.

sda1: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 1,931,263,999 1,931,261,952 83 Linux
/dev/sda2 1,931,266,046 1,953,523,711 22,257,666 5 Extended
/dev/sda5 1,931,266,048 1,953,523,711 22,257,664 82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 7cdd379f-22d8-46c3-a683-113d17307fd7 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 c88ae04a-a1ce-48bc-8304-bac4d3aa228d swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)


=========================== sda1/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-28-virtual' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux /boot/vmlinuz-2.6.35-28-virtual root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro rootdelay=60
initrd /boot/initrd.img-2.6.35-28-virtual
}
menuentry 'Ubuntu, with Linux 2.6.35-28-virtual (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
echo 'Loading Linux 2.6.35-28-virtual ...'
linux /boot/vmlinuz-2.6.35-28-virtual root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-virtual
}
menuentry 'Ubuntu, with Linux 2.6.35-28-server' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux /boot/vmlinuz-2.6.35-28-server root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro rootdelay=60
initrd /boot/initrd.img-2.6.35-28-server
}
menuentry 'Ubuntu, with Linux 2.6.35-28-server (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
echo 'Loading Linux 2.6.35-28-server ...'
linux /boot/vmlinuz-2.6.35-28-server root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-server
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro rootdelay=60
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro rootdelay=60
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=7cdd379f-22d8-46c3-a683-113d17307fd7 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cdd379f-22d8-46c3-a683-113d17307fd7
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c88ae04a-a1ce-48bc-8304-bac4d3aa228d none swap sw 0 0

=================== sda1: Location of files loaded by Grub: ===================


734.5GB: boot/grub/core.img
45.5GB: boot/grub/grub.cfg
.1GB: boot/initrd.img-2.6.35-22-generic
886.4GB: boot/initrd.img-2.6.35-28-generic
290.2GB: boot/initrd.img-2.6.35-28-server
734.7GB: boot/initrd.img-2.6.35-28-virtual
734.7GB: boot/vmlinuz-2.6.35-22-generic
47.5GB: boot/vmlinuz-2.6.35-28-generic
734.7GB: boot/vmlinuz-2.6.35-28-server
734.7GB: boot/vmlinuz-2.6.35-28-virtual
734.7GB: initrd.img
290.2GB: initrd.img.old
734.7GB: vmlinuz
734.7GB: vmlinuz.old

Hope someone can help and ive posted correct information;)





 



View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
635 posts

Ultimate Geek


  # 458394 13-Apr-2011 19:24
Send private message

What happened before your problem - were you doing installation, upgrade, just minding your own business...

Sound a bit like a failed upgrade. Perhaps kernel doesn't have ext4 support.
Did you always use ext4 root partition?

Can you boot up if you select an older kernel from before the upgrade?

Perhaps one of these might help:
http://www.google.co.nz/search?hl=en&q=ubuntu+alert+dev+disk+by-uuid+does+not+exist

This one for example...
http://ubuntuforums.org/showthread.php?t=1127779

635 posts

Ultimate Geek


  # 458402 13-Apr-2011 19:37
Send private message

Basher:
insmod ext2 (is this correct)



The ext4 filesystem is just new improved ext3 and ext3 is just new improved ext2.
In ext3 they added a journal and larger fs size... can't recall what the ext4 gives above ext3.

In any case, it appears to be the same driver that handles ext2, ext3 and ext4. If it can handle ext4 then it should be able to handle the older ones, so don't worry too much about insmod ext2 - that part should be o.k.

 
 
 
 


76 posts

Master Geek


  # 458432 13-Apr-2011 20:44
Send private message

Just to be sure 2.6.35-22 boots but 2.6.35-28 doesn't? I assume your ls -l /dev/disk/by-uuid was done under a working 2.6.35-22? 
What mobo make & model? Anything unusual plugged in? What HDD make & model?
Is your keyboard PS2 or USB ... if its USB can you plug in a PS2 one as you'll need to exit to a shell to chase this one down ...
Nice try with the rootdelay :-)



85 posts

Master Geek


  # 458480 13-Apr-2011 22:41
Send private message

Hi,

Thanks all for your responses.

I think after a kernel upgrade a few weeks ago, i cant pin point it exactly.  But one day i tried to boot and it stopped at busybox/intramfs.

I hit reset and managed to boot through grub2. I can access all Kernels in the grub menu ( Linux 2.6.35-22-generic and Linux 2.6.35-28
).

As far as i know have always used EXT4 as root.

All Kernels seem to be working fine apart from the boot problem.

I have tried many fixes found in Ubuntu Forums, but have noticed a lot of unsolved threads similar to mine, examples of fixes ive tried; rootdelay, uncommenting command lines, updating kernel, updating grub, changing sata config. from achi to IDE in BIOS? and a few more that ive forgotten.


Linux and any code input is completely new to me, but am enjoying solving other problems, but this one is completely beyond me at the moment, although learning lot.

Motherboard - Asus M4A785TD-V Evo with Onboard ATI Radeon HD4200 graphics
CPU - AMD -PhenomIIX4 Black edition 3.2ghz
HD - ATA Samsung HD103SJ Firmware 1AJ10010 1TB

Do not have a PS2 keyboard i gave it away, do have other USB keyboards thoough expect it wont help.  Have had a problem also before boot, a SATA host Adapter says it cant find IDE hard Drive, always have ignored it as it seems to make no difference to system and i use a Sata HD.

Well hope this helps you help me fix this issue;)



76 posts

Master Geek


  # 458583 14-Apr-2011 10:13
Send private message

Basher:
As far as i know have always used EXT4 as root.

Both the kernels you mention use EXT4, as others have said the insmod ext2 is correct

Basher:
All Kernels seem to be working fine apart from the boot problem.

I'm not sure I understand this ... you can't boot 2.6.35-28 can you (because grub can't find the root device)? Or are you booting grub from a CD and doind a Boot Linux of First Parition or whatever its called?

Basher:
I have tried many fixes found in Ubuntu Forums, but have noticed a lot of unsolved threads similar to mine, examples of fixes ive tried; rootdelay, uncommenting command lines, updating kernel, updating grub, changing sata config. from achi to IDE in BIOS? and a few more that ive forgotten.

Linux and any code input is completely new to me, but am enjoying solving other problems, but this one is completely beyond me at the moment, although learning lot.


It sounds like you're going great, this stuff can be tricky. What you have tried so far is all worthwhile 

Basher: Have had a problem also before boot, a SATA host Adapter says it cant find IDE hard Drive, always have ignored it as it seems to make no difference to system and i use a Sata HD.


I'd fix this first, just in case, often the first error is the only error when debugging this sort of stuff :-)
Have you got any IDE drives (CD/DVD for example)? Have a look in your BIOS settings and see what your IDE/SATA controller is set to, perhaps try SATA only or Enhanced Mode and see if that helps (its really odd that you should be getting errors before booting). I'll say the old chestnut ... is the main MOBO and SATA controller BIOS up to date? It might be worth resetting you BIOS to safe settings first ...

Secondly, you need to get into the grub shell and manually type the boot commands (e.g. without the UUID, use /dev/sdX instead) ...  ths ls command may be very useful at this point :-) You, ahem, grub around a bit, and see what's what :-)



85 posts

Master Geek


  # 458942 14-Apr-2011 21:06
Send private message

Hi,

Thanks for the new response.

Kernels- I can use both kernels from the grub2 menu. Pressing shift during boot, goes straight to grub2 menu, then i can click on 2.6.35-28 and it boots up with no problem. I can enter command and edit from here also.

 I have noticed, when i boot through grub2 menu, that where the boot fails on normally, the next boot line is going on about sda5>. Now i have seen a thread where it mentions changing sda1(which is correct) to sda5, i assume i would change it in grub2 edit.

 I have not tried this one as i cant see how it could possibly work. But may try it if i get time tonight.

I have only one cd/dvd writer drive thats using a sata connection.

I will try and look into bios and grub command too.

Thanks for help and encouragement. ta

76 posts

Master Geek


  # 458985 14-Apr-2011 23:11
Send private message

Basher:.
Kernels- I can use both kernels from the grub2 menu. Pressing shift during boot, goes straight to grub2 menu, then i can click on 2.6.35-28 and it boots up with no problem. I can enter command and edit from here also.


So are you saying you only get the error if you don't enter the grub menu and the default runs automatically? What happends if you change the line
GRUB_TIMEOUT=2
in /etc/default/grub an set it to say 30 (and update grub) and wait 30 seconds for the default to run?

 
 
 
 




85 posts

Master Geek


  # 459261 15-Apr-2011 21:36
Send private message

No change, default boot up still stops in same place., after changing GRUB_TIMEOUT=0 to ..30

Tried changing sda1 to sda5 on grub last night, as i thought it failed with different error, but strangely enough my keyboard was working in intramfs promt.

7 posts

Wannabe Geek


  # 459264 15-Apr-2011 22:03

1. boot on livecd
2. mount -t ext4 <root partition> /mnt
   mount -o bind /dev /mnt/dev
   mount -o bind /sys /mnt/sys
   mount -o bind /proc /mnt/proc
3. chroot /mnt /bin/bash
4. mkinitramfs -o /boot/`uname -r` -k /lib/modules/`uname -r`
5. update-grub
6.reboot
 



85 posts

Master Geek


  # 459809 17-Apr-2011 17:50
Send private message

Right have created a `livecd` 10.10 (only had 10.04 on CD) on usb flash drive and booted up fine. Have played around with the code, but am unsure what information i need to substitute into the code.

Apart from uname, do i need so substitute sda1 or UUID into /dev, anything for , as my partition does not have a label when i look in disk utility. I keep geeting terminal error, file or directory does not exist.

If it is possible could you add anything else to make it easier for a code-aphobic like me.

7 posts

Wannabe Geek


  # 460282 18-Apr-2011 19:52

Please forgive my English. It's my 3rd language. I'll try to explain to the best I can. I believe your installation does not boot up because the initramfs does not rebuilt properly with appropriate modules.

Since your installation is not booting up, what we are trying to achieve is to mount your installation under the LiveCD environment. we are actually using the LiveCD environment to 'piggyback' your installation.

Information needed:
- Do you have a single partition for '/' or you have separate partitions for, say, '/usr, /boot' etc?

Assuming single '/' partition: mount the '/' partition using '/dev/sdaX' notation. This way you wouldn't have to worry about UUID. You could then just issue 'mount -t ext4 /dev/sdaX /mnt'.

Now we are in Chroot environment. We can now rebuild the 'initramfs' and save that on '/boot'. make sure that you rebuild using the kernel version of your installation. That's why step 4 is important.

Then, check grub config to make sure that you have the right kernel version and the right initramfs.

Hope it helps somehow.



85 posts

Master Geek


  # 461759 23-Apr-2011 12:10
Send private message

HI,

I ran these commands;


 sudo mount -t ext4 /dev/sda1 /mnt
 sudo mount -o bind /dev /mnt/dev
 sudo mount -o bind /sys /mnt/sys
 sudo mount -o bind /proc /mnt/proc
 sudo chroot /mnt /bin/bash


but with 4.) initramfs....`uname -r` etc i have has problems, terminal is saying incorrect syntax, kernel or missing modules

I need help rebuilding intramfs;)


I now get missing modules error and ..dev/disk...does not exist at boot, i now can not boot with grub menu, only with livecd10.04.

If you could establish what i need,( by looking at my original boot-info-script) for `uname -r -k...etc`, as i now have no access to all HDrive data.

Thanks  again for your help.




85 posts

Master Geek


  # 461762 23-Apr-2011 12:21
Send private message

root@ubuntu:/#  mkinitramfs -o /boot/vmlinuz-2.6.35-28-generic root -k /lib/modules/initrd.img-2.6.35-28-generic
grep: /boot/config-2.6.32-24-generic: No such file or directory
Working files in /tmp/mkinitramfs_F7r5v2 and overlay in /tmp/mkinitramfs-OL_K0BhWG

root@ubuntu:/# mkinitramfs -o /boot/`uname -r` -k /lib/modules/`uname -r`
dpkg: version '/lib/modules/2.6.32-24-generic' has bad syntax: invalid character in version number
grep: /boot/config-2.6.32-24-generic: No such file or directory
Working files in /tmp/mkinitramfs_lFA44P and overlay in /tmp/mkinitramfs-OL_SKeu7y

root@ubuntu:/# mkinitramfs -o /boot/2.6.35-28 -k /lib/modules/2.6.35-28-generic
dpkg: version '/lib/modules/2.6.35-28-generic' has bad syntax: invalid character in version number
Working files in /tmp/mkinitramfs_U3eyx2 and overlay in /tmp/mkinitramfs-OL_Aw6M8a

I do not know how to rebuild the initramfs?









7 posts

Wannabe Geek


  # 462019 24-Apr-2011 20:22

ok, we go back to chroot environment. I actually rebuilt my mkinitramfs command to verify it is actually correct. Modify it a bit,
issue: mkinitramfs -o /boot/temp.img /lib/modules/`uname -r`.
This time we drop '-k' which is just for temporary something.

now 'cd /boot'. you will see the new initramfs 'temp.img'.
You will see this warning. dpkg: version '/lib/modules/2.6.32-5-686' has bad syntax: invalid character in version number. You can just ignore it.

Now, back up your original initramfs by 'cp initramfs-2. initramfs-new'
Then overwrite the original initramfs by 'cp -f temp.img initramfs-'.
then, update-grub

exit from chroot then reboot.

7 posts

Wannabe Geek


  # 462021 24-Apr-2011 20:38

here is an screenshot of the steps:

 [IMG]http://i52.tinypic.com/2vspahd.png[/IMG]

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Arlo unveils its first video doorbell
Posted 21-Oct-2019 08:27


New Zealand students shortlisted for James Dyson Award
Posted 21-Oct-2019 08:18


Norton LifeLock Launches Norton 360
Posted 21-Oct-2019 08:11


Microsoft New Zealand Partner Awards results
Posted 18-Oct-2019 10:18


Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.