Re: Gutsy Upgrade problem




NoOp,

I ran the command as you suggested, update-initramfs -k 2.6.22-a4-generic -u, and checked the time and date of /boot/initrd.img-2.6.22-14-generic and it looks like the command took. I rebooted and still go the BusyBox prompt and my hard drive are not present. My USB mass storage device is OK and my ZipDrive is visible, just no hard drives ( have 2, linux is on /dev/hdb). Anything else you can suggest?

Thanks,
Rick


I presume you mean:

sudo update-initramfs -c -k 2.6.22-14-generic

I've used blkid to verify the uuid is correct. I've edited
/boot/grub/menu.lst and /etc/fstab to use drive path (/dev/hdb5 &
/dev/sdb5) instead of uuid.

You might want to relook at your fstab - they should be sdb vs hdb. Here
is a copy of mine:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=<myuuid> / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
<myuuid> none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# /dev/sdb1
/dev/sdb1 /media/windows ntfs iocharset=utf8,umask=000 0 0

Note: sdb1 is a dual boot drive for windows. No UUID works, but
eventually I'll get around to putting a UUID there.

If all else fails, you can try substituting the UUID temporarily and use
/dev/sda1 & /dev/sda5 to see if you can boot.

My grub menu.lst on this machine looks like this:

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=<myuuid> ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic

I'd also try using the alternate CD and select "rescue a broken system"
+ options.

Other than that, you'll need Nils...



NoOp,

Yesterday I ran the command as "sudo update-initramfs -k 2.6.22-14-generic -u" and then rebooted. No change, still boots to Busy Box prompt. Then I ran the command again like this "sudo update-initramfs -c -k 2.6.22-14-generic" and again rebooted. Same thing, Busy Box shell and a message indicating my drives can't be found.

I've studied my /etc/fstab and it looks correct. I've substituted the drives UUID with the path, both /dev/hdb5 and /dev/sdb5, modifying /boot/grub/menu.lst to match. Neither works and in fact when I use /dev/sdb5 grub can't find the boot loader at all, maybe this is part of the problem. I have never been able to use /dev/sdb drive spec, only /dev/hdb even on Feisty. My notebook and my desktop at work were both using /dev/sdx but my desktop at home would only use /dev/hdx.

Don't know if they'll help, but I'm attaching my fstab and menu.lst

Any other suggestion?

Thanks, Rick # /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb5 / ext3 defaults 0 2
#UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 / ext3 defaults,errors=remount-ro 0 1
# /dev/hdb1
UUID=e3756958-033e-41a9-b193-b04e66efb452 /boot2 ext3 defaults 0 2
# /dev/hda1
UUID=448C-C79B /media/hda1 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/hda2
UUID=d6f73dcb-5ca0-4c1d-85e1-48e7146026b3 /media/hda2 ext3 defaults 0 2
# /dev/hda5
UUID=a13285d9-22aa-45f0-86c1-7612dd07c8a7 /media/hda5 ext3 defaults 0 2
# /dev/hda6
UUID=8c1fbc9c-8304-4f24-b5bb-af1626035357 none swap sw 0 0
# /dev/hdb6
UUID=7c1edba8-4077-4dae-9454-9336e87d614c none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 2

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,4)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,4)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd1,4)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb5 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd1,4)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet

title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd1,4)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu 7.10, kernel 2.6.20-15-generic
root (hd1,4)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet

title Ubuntu 7.10, kernel 2.6.20-15-generic (recovery mode)
root (hd1,4)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=cb18ce85-3710-4259-9abb-ce8a0ca67e13 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu 7.10, memtest86+
root (hd1,4)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows 2000 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-29-386 (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-29-386 root=/dev/hda5 ro quiet splash
initrd /initrd.img-2.6.15-29-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-29-386 (recovery mode) (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-29-386 root=/dev/hda5 ro single
initrd /initrd.img-2.6.15-29-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-28-386-NAT (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-28-386-NAT root=/dev/hda5 ro quiet splash
initrd /initrd.img-2.6.15-28-386-NAT
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-28-386-NAT (recovery mode) (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-28-386-NAT root=/dev/hda5 ro single
initrd /initrd.img-2.6.15-28-386-NAT
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-28-386 (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-28-386 root=/dev/hda5 ro quiet splash
initrd /initrd.img-2.6.15-28-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-28-386 (recovery mode) (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-28-386 root=/dev/hda5 ro single
initrd /initrd.img-2.6.15-28-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-27-386 (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-27-386 root=/dev/hda5 ro quiet splash
initrd /initrd.img-2.6.15-27-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, kernel 2.6.15-27-386 (recovery mode) (on /dev/hda5)
root (hd0,1)
kernel /vmlinuz-2.6.15-27-386 root=/dev/hda5 ro single
initrd /initrd.img-2.6.15-27-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda5.
title Ubuntu, memtest86+ (on /dev/hda5)
root (hd0,1)
kernel /memtest86+.bin
savedefault
boot

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: XP wont boot from a volume formated in WinPE 2 (Vista)
    ... Today I included the format command in my Diskpart script. ... missing Vista boot files. ... when I copy the Vista boot files but this is no solution as Windows ... I didn't use Diskpart to format, ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Format Hard Disk
    ... So it's like that - the 2 files reside only in the boot partition.. ... As you suggested, I opened Command ... No problem....I don't intend to use the programs existing in Win2K. ... - Buy a 100 GByte disk and install it as a slave drive. ...
    (microsoft.public.win2000.general)
  • Re: How do I remove XP Pro setup at boot?
    ... Reggie D. wrote: ... I can see FDISK.EXE but not a sys command file. ... I made the boot disk ages ago, and the FDISK.EXE and I think the sys utilities are also there. ...
    (microsoft.public.windowsxp.general)
  • Re: How do I remove XP Pro setup at boot?
    ... Just do sys c: If the command runs successfully you will get a message saying something to the effect that system files have been transfered to the disk. ... I made the boot disk ages ago, and the FDISK.EXE and I think the sys utilities are also there. ... Windows will not now open with or without the floppy. ...
    (microsoft.public.windowsxp.general)
  • Re: Multiple questions...
    ... What is the "Run" command to go to the boot menu ... > in Windows Xp Home Edition. ... > boot into Linux and DOS. ... > and 100 gb to backup is crazy. ...
    (microsoft.public.windowsxp.hardware)