Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Install Ubuntu from FLASH DRIVE ????

  1. #1
    Join Date
    Apr 2010
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Install Ubuntu from FLASH DRIVE ????

    Okay, this may sound totally insane and if this is completely undoable, please tell me.

    Anyways, I am going to be install Ubuntu 10.04 LTS on my Power Mac G5. I have a rewritable cd and a 4gb flash drive. My original idea was to burn the iso file to the rewritable cd and then boot my mac from the cd. Well, the burning of the iso, to the rewritable cd worked fine. But, the booting from the cd is were I ran into trouble.

    I inserted the cd, rebooted and booted from the cd. Then the command prompt popped up. I then typed in
    "live-nospalash-powerpc64" and hit enter. Now I have done this a couple times before and in the past, it has successfully booted to the desktop. However, this time it did not. So i took out the cd and I see a big, deep scratch in it. You may say "well if you have no other cd's, why don't you just boot from the 4gb flash drive?". unfortunately my mac does not allow you to boot from flash drives.

    So heres my question: can I burn the iso to the flash drive (don't worry, i know how to make it bootable) and then like before, restart my computer (with the cd in the drive and the now bootable flash drive still plugged in) and boot from the cd. Now, instead of typing in "live-nospalash-powerpc64" is there a command i can use to tell the computer to, from this point, continue booting like normal, except instead boot from the files on the flash drive instead of from the cd?

    Is there such a command?

    Thanks,
    Ben

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Install Ubuntu from FLASH DRIVE ????

    Can you install grub2 to the USB flash? If so you can just copy the ISO to the USB and edit the grub loopmount command to include your extra parameters.

    MultiBoot USB with Grub2 (boot directly from iso files)
    Is full script for a few ISOs, I only used some commands to set up Flash drive.
    http://www.panticz.de/MultiBootUSB
    HOWTO: Booting LiveCD ISOs from USB flash drive with Grub2
    http://ubuntuforums.org/showthread.php?t=1288604
    Basically you just install grub2, create a folder for the isos and edit a grub.cfg to loop mount the isos.

    Auto installs a variety of ISOs
    MultiBootUSB - Install and boot multiple Linux from Pendrive / Flash drive / USB disk
    http://ubuntuforums.org/showthread.php?t=1518273
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Apr 2010
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Install Ubuntu from FLASH DRIVE ????

    Ummmm, oldfred, what you are explaining to me is way above my level of expertise.

    Just so you know (when you are re-explaining your answer for someone less advanced than you) here Is my current situation:
    I have a scratch cd with Ubuntu 10.04 LTS on it. On that cd, all that will load is the original command prompt, and thats it. I have access to no other blank writable cd's. However, I do have access to a 4gb flash drive. My mac will not boot from a flash drive, so here's what I want to do:

    Power on computer > hold down "C" key > boot from cd > get into the command line (the black screen with white text) for ubuntu 10.04 LTS > put in command(s) to continue booting ubuntu 10.04 LTS, except from the flash drive > once I get to the desktop, install ubuntu 10.04 LTS on my mac.


    Thanks,
    Ben

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Install Ubuntu from FLASH DRIVE ????

    I think what you are doing is very advanced. Are you at a Ubuntu promt or a grub promt. The Ubuntu promt will not accept "live-nospalash-powerpc64" as those are boot settings normally added to a grub menu line.

    Have you tried .
    startx
    or
    sudo service gdm start

    I know you can chroot into another system but I do not know how to start an installer just how to repair once chrooted into a system.

    kansasnoob converted commands to one line with &, you have to edit to have the correct partition:
    http://ubuntuforums.org/showpost.php...2&postcount=10
    http://ubuntuforums.org/showthread.php?t=1470597
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Install Ubuntu from FLASH DRIVE ????

    Grub doesn't work with the ppc architecture, so don't even bother trying. I know there are boot cd's available that will allow you to boot from a usb device, even if the computer isn't capable of doing it, itself. I just had a quick look on google and it seems possible with the ppc too.

  6. #6
    Join Date
    Apr 2010
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Install Ubuntu from FLASH DRIVE ????

    If you say:
    The Ubuntu promt will not accept "live-nospalash-powerpc64" as those are boot settings normally added to a grub menu line
    Then I must be in the grub prompt.


    Have you tried .
    startx
    or
    sudo service gdm start
    No, I have not tried either of those commands, but I doubt that they will work because my cd is actually scratched and not allowing my computer to read all the information on it. The farthest that I can make it is to the grub prompt, after that I start getting multiple errors.


    I know you can chroot into another system but I do not know how to start an installer just how to repair once chrooted into a system.

    kansasnoob converted commands to one line with &, you have to edit to have the correct partition:
    http://ubuntuforums.org/showpost.php...2&postcount=10
    http://ubuntuforums.org/showthread.php?t=1470597
    To tell you the truth, I have no idea what "chroot" is.


    Thanks for the help so far,
    Ben

  7. #7
    Join Date
    Apr 2010
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Install Ubuntu from FLASH DRIVE ????

    Grub doesn't work with the ppc architecture, so don't even bother trying. I know there are boot cd's available that will allow you to boot from a usb device, even if the computer isn't capable of doing it, itself. I just had a quick look on google and it seems possible with the ppc too.
    Okay, if you could find out how I could do that and explain it to me step by step (and keep it as simple as possible), that would be great!

    Thanks,
    Ben

  8. #8
    Join Date
    Feb 2009
    Location
    Annapolis, MD
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Install Ubuntu from FLASH DRIVE ????

    Alright, a lot of confusion is flying around here. Ben, your computer does not use grub. It uses yaboot (Yet Another BOOT loader). This means that usage of grub (or grub 2 commands will be pointless for you.

    For those of you wondering about the validity of this claim, ben is rocking a G5, which is a powerpc architecture chip. Yaboot has been for years the primary linux bootloader for powerpc arch's.

    As for yaboot commands to boot from an external drive, I'm pretty sure it's possible. If I remember correctly you just have to enter a string for the hardware device and the partition. The difficulty comes in with the fact that you've already burned the one CD you have, which is the device that you want to boot from. Therefore it is impossible to change the yaboot.conf file on that cd to set a quick and easy option for booting from the USB drive.

    Another unfortunate fact is that it doesn't seem possible (although this is currently all I have to support this claim) to pass an initrd argument onto yaboot. So I don't know exactly how you'd be able to do this given the limited options provided by yaboot at boot time. I hate to say this, but you might be stuck in the situation of needing to get a new CD-R. I'm sorry for the bad news.
    Systems: MacBook Pro 5,5 | MacBook 3,1 | Compaq ML330 G2 | And misc. other desktop systems
    My Blog (tech, politics, life): http://leftofrightrightofleft.wordpress.com
    Annapolis Computer Help IT Consulting ETC...http://www.lighthousesolutions.info

  9. #9
    Join Date
    Apr 2010
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Install Ubuntu from FLASH DRIVE ????

    Okay, I'll purchase another cd.

    Thanks for the help,
    Ben

  10. #10
    Join Date
    Apr 2010
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Install Ubuntu from FLASH DRIVE ????

    Great news, I found another blank cd!
    I successfully burned Ubuntu 10.04 LTS to the cd and verified it.

    Heres my new problem:
    As you know by now I am using Mac (Mac OS X 10.5 (Leopard)). Well I don't want to delete Mac off my system. But, when I was originally install mac on my system a left 10 GB of free space for ubuntu. Now, I want to install Ubuntu 10.04 LTS on that 10 GB partition. When I boot from the cd (everything works fine) and when I get to the desktop I click on the icon the install Ubuntu. When I get to the part to where I want to install ubuntu, that 10 GB is not available to me. I think that that is because I have that partition formated as MAC OS Extended (journaled).

    So, how do I delete a secondary mac partition and leave it as free space (meaning not re-formating it)?

    Thanks,
    Ben

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •