Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Upgrage to 11.10 reboot failed

  1. #1
    Join Date
    Oct 2011
    Beans
    7

    Exclamation Upgrage to 11.10 reboot failed

    Hello

    i made a distro upgrade for my ibookg4 to v 11.10.

    the upgrate itself had an error installing one package named firmeware... (don't know the name exactly) but afterwards finished with success.

    i rebootet after the distroupgrade and the ibook failed to boot.

    what i see when i press the power button:
    1. there is a boot menu:
    First Stage upbuntu boot, l=linux, c = cdrom
    i choose l

    2. there is a yaboot screen (i choose nothing after a few seconds the boot process continues)

    3. The cd rom makes some noise, nothing happens for about 15 s

    3. An error and the busybox is displayed:

    WARNING bootdevice may be renamed. Try root=/dev/sda3
    Gave up waiting for root device........

    then BusyBox v1.18.4 is displayed.

    when i look at /dev there is a device /dev/sda3 (wich is the root device)

    i can then mount the root device
    cd /
    mount /dev/sda3 /root

    then:
    exit
    but the same error is displayed again.

    how does i manage to get the system to boot from /dev/sda3 ?
    i don't catch the boot progress. doesn't yaboot mount the root device ?

    thanks stefan

  2. #2
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,114

    Re: Upgrage to 11.10 reboot failed

    EDIT:
    At the BusyBox terminal type the command:

    modprobe pata_macio

    then press ctrl+D to resume the boot. See post #8 for more info on this. If this doesn't work follow orginal instructions....


    My wild stab in the dark:

    At the second yaboot prompt type

    Code:
    Linux root=/dev/sda3
    That is assuming you have a standard Ubuntu install on partition 3. If you are dual-booting then you may have linux installed on another partition.

    There are various ways you can setup a yaboot.conf to point to root http://ubuntuforums.org/showpost.php...9&postcount=10
    You could also try setting the root value using the UUID number.

    Code:
    Linux root="UUID=big-long-number-000"
    I think there has been some sort of renaming thing going off so hda3 maybe now sda3?

    Will it boot if you type at the second yaboot prompt:
    Code:
    old
    This will be a temporary fix using the 11.04 kernel. However, once you receive a kernel package update through the Update Manager the 'old' will link to a 11.10 kernel.
    Last edited by rsavage; December 6th, 2011 at 03:31 PM.

  3. #3
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,114

    Re: Upgrage to 11.10 reboot failed

    Just to add some more to this:

    On some installs the yaboot.conf has this line:

    boot=/dev/hda2

    On others it has this:

    boot="/dev/disk/by-label/bootstrap"

    So you may have to fiddle with the boot= line too! I think the boot path is only used when you run the ybin/yabootconfig commands, so don't worry about this until you get the system running!
    Last edited by rsavage; November 2nd, 2011 at 01:53 PM.

  4. #4
    Join Date
    Oct 2011
    Beans
    7

    Smile Re: Upgrage to 11.10 reboot failed

    That did the trick.

    After booting with Param: "Linux root=/dev/sda3" i finished the distro upgrade (there were some additional packages that needed an update / install).

    after that i fixed yaboot with:
    sudo yabootconfig -r /dev/sda3

    now, everything works

    Thanks
    Stefan

  5. #5
    Join Date
    Nov 2009
    Location
    Zürich, Switzerland
    Beans
    7
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Upgrage to 11.10 reboot failed

    Thanks, worked for me as well!

  6. #6
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,114

    Re: Upgrage to 11.10 reboot failed

    That yabootconfig command you've found is a very neat way to do it! I'm sure a lot of people will benefit from that. Thanks for posting back with the solution!

  7. #7
    Join Date
    Feb 2011
    Beans
    214

    Re: Upgrage to 11.10 reboot failed

    In the second yaboot prompt, I just typed "old" and, apparently, I'm in the 11.10 Xubuntu (with a healthy CPU usage!). What does this "old" mean? Can the yaboot fix be done from this "old" (new) system?
    Desktop: Ubuntustudio 20.04 running on AMD Ryzen 5 3600X, with Nvidia Geforce 1050Ti graphics; Laptop: Ubuntustudio 20.04 running on a Intel i5 6200U @2.30 GHz

  8. #8
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,114

    Re: Upgrage to 11.10 reboot failed

    "old" boots into the old kernel image. It's used in case the new kernel image causes problems.

    However, in this case it's best to boot using the root= parameter otherwise things get confusing.

    The safest way to update changes to the yaboot.conf is to edit the file yourself. The "yabootconfig" command formats the bootstap partition so I assume there is a greater chance of something going wrong.

    To open yaboot.conf type one of the following (depending on the text editor you want/have):

    sudo nano /etc/yaboot.conf
    gksudo gedit /etc/yaboot.conf
    gksudo leafpad /etc/yaboot.conf
    gksudo mousepad /etc/yaboot.conf

    When you've made and saved your changes use the command "sudo ybin -v" to copy it across to the boot partition.

    Type "man yaboot.conf" for an explanation of what it all means.

    Note, on some machines just changing the root= parameter is not sufficient and you may have to do more steps to get it to boot with the new kernel http://lists.debian.org/debian-power.../msg00050.html . The ubuntu commands to make it permanent are slightly different to those given in the link for debian:

    Code:
    echo pata_macio | sudo tee -a /etc/initramfs-tools/modules
    sudo update-initramfs -u
    The above is just a fancy way of adding the word "pata_macio" to the end of the modules file. You could alternatively type "sudo nano /etc/initramfs-tools/modules" to open the file and add the word on a new line yourself. You must always run "update-initramfs -u" for the changes to take effect.
    Last edited by rsavage; December 17th, 2011 at 05:21 PM. Reason: Added missing sudo

  9. #9
    Join Date
    Nov 2009
    Beans
    28

    Re: Upgrage to 11.10 reboot failed

    Hello

    I am having the exact same problem but when i enter in any of the above options at the second yaboot menu i get nothing or Linux: is not a file they find (for the Linux root=/dev/ada3)
    I looked in the /dev folder and i see an ada and ada1

    Help soon would be great thanks

  10. #10
    rsavage is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Jan 2011
    Beans
    1,114

    Re: Upgrage to 11.10 reboot failed

    Hi, a bit more info would be good. Is this an upgrade (from 11.04 to 11.10) or a direct install of 11.10? Also, what machine do you have as I have never heard of ada, ada1 etc (except the prgramming language of course!)? Is this some sort of RAID setup?
    If it is an upgrade you should always be able to use "old" until you get the problem sorted. By the sounds of it you need something different to pata_macio although I am a bit confused if ada1 is a hard drive partition (why are the others not showing up?). Running a live cd (try 12.04) maybe useful to figure out the modules used.
    Last edited by rsavage; December 3rd, 2011 at 09:51 AM.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •