Fedora Linux Support Community & Resources Center
  #1  
Old 2nd November 2009, 12:46 AM
duke11235 Offline
Registered User
 
Join Date: Jul 2009
Posts: 146
macossafari
Apple Usb

Does anyone now how to make a partition on a usb drive bootable? It fails in refit
Reply With Quote
  #2  
Old 2nd November 2009, 05:30 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
linuxubuntufirefox
You might get a better response or even some response if you were to at least mention what's on the partition. You realize the right response would depend on that information right?
Reply With Quote
  #3  
Old 8th November 2009, 07:40 PM
duke11235 Offline
Registered User
 
Join Date: Jul 2009
Posts: 146
macosfirefox
Grub and /boot

I have grub installed to the mbr of a flash drive and /boot within the 1gb partition. However, Refit always fails trying to boot from the usb. To counteract that I have been using the install cd to boot from local drive, but since I installed the nvidia drivers, I realized it needed a change in the grub menu.lst or grub.conf, and that was impossible to change on a live cd. I am now stuck outside Fedora. Help would be appreciated
Reply With Quote
  #4  
Old 8th November 2009, 07:52 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
macossafari
Unfortunately, you can't boot non-EFI operating system from removable media to a a bug (or intentionally left out feature) in Apple's firmware.

I've been working on Fedora's liveusb creator tool to create hybrid EFI+MBR partition layout that works on both PCs and Macs, but some Macs (& MacBooks) still have problems booting with the hybrid key because of a video driver initialization problem. If you have the ISO and livecd-iso-to-disk tool handy, you can try it out by supplying the --format and --mactel arguments:
Code:
livecd-iso-to-disk --format --mactel /path/to/iso /dev/sdx
Where /dev/sdx is your USB key.
WARNING: Generating the hybrid layout will format the USB key, erasing all data currently on it.

Once this is done, you can hold the alt/option key as you boot up an you'll notice that along with the Macintosh HD and Windows entries you'll see a new entry for the USB key with an orange icon. Selecting that will boot the media via EFI.
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #5  
Old 8th November 2009, 11:58 PM
duke11235 Offline
Registered User
 
Join Date: Jul 2009
Posts: 146
macosfirefox
So this would work with any iso I have lying around that is live? I've been looking for a method of installing grub2 on a usb, but specific to my computer. If u know anything that would be handy.

The underlying problem is that I have one partition space left on my mbr. I basically have two options.
1. I could install /root and swap to one lvm group and /boot on a usb disk, as Fedora is the case now. I was locked out because the usb drive with grub on it was not being accessed by the Boot From Local Drive option on Fedora's Live cd, and a specific grub addition was needed to allow nvidia drivers. The workaround was becuase REFIT and Apple's Firmware failed to boot my usb stick. This is inherently messy, as I need both a usb drive and a cd to boot, and I can not fix the menu.lst I am willing to reinstall Fedora, but I have no idea how to efi format the usb so Apple can boot it

2. Option2 comes from the recent debut of grub2. It won't work with Fedora, I know Arch will accept it and am unsure about Ubuntu/Debian, but I basically put /boot, /root and swap in one lvm partition, and install grub2 to a usb drive. I'd prefer to use grub2 configured to my system, but the rescue iso is toleralbe. I don't assume u have input there?

? Grub2 can not be installed to the front of a Mac or Windows partition

? I assume REFIT doesn't support lvm, thus installing grub2 to the /boot partition is useless in Option2. Please correct me if I am wrong, as this would make my setup way easier

Assumption: I can not install grub to the mbr of a gpt/mbr hybrid after installing Windows

Is the code u posted run in the kernel or in revisor?

Thanks for any clarifications, questions answered, assumptions proved or disproved, or helpful advice

Last edited by duke11235; 9th November 2009 at 12:02 AM.
Reply With Quote
  #6  
Old 9th November 2009, 04:05 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
macossafari
You would need to run that command from another Fedora machine with livecd-tools installed, or boot from the livecd and use yum to grab livecd tools and then run it from there.

If you only have one free partition left I suggest you download the DVD media and install with a custom partition layout, choosing a single ext3 partition for /. Using any of the live media you're required to create 2 partitions (one for /boot ext3 and one for / ext4) which won't work out well.

If you want to add swap afterwards, you can add a swap file (google for more information).
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #7  
Old 9th November 2009, 06:21 AM
duke11235 Offline
Registered User
 
Join Date: Jul 2009
Posts: 146
macosfirefox
How easy would it be to encrypt my home, using ecryptfs? It seems relatively easy in Ubuntu 9.10. I am just a paranoid person. Would I suffer performance loss, and could I encrypt it? Thank you
Reply With Quote
  #8  
Old 9th November 2009, 01:50 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
macossafari
IIRC Fedora uses LUKS and not ecryptfs, but it's relatively easy to do. Just select the encrypted tickbox at install time and the installer takes care of the rest.
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #9  
Old 9th November 2009, 02:50 PM
duke11235 Offline
Registered User
 
Join Date: Jul 2009
Posts: 146
macosfirefox
Huh?

I thought that Fedora did not support encryption with one / partition, that u needed an unencrypted /boot
Quote:
livecd-iso-to-disk --format --mactel /path/to/iso /dev/sdx
Will this work with any live iso?

Also, is there anything that offers complete freedom of install in the fedora installer? like expert mode in debian? I'd really like to install to one lvm group and just put a grub2 rescue or configured iso on my usb stick. Thank u.

Last edited by duke11235; 10th November 2009 at 12:52 AM.
Reply With Quote
  #10  
Old 22nd November 2009, 11:34 PM
duke11235 Offline
Registered User
 
Join Date: Jul 2009
Posts: 146
linuxfedorafirefox
Impressive Work

Good job with the iso. It's good to see someone trying to keep linux at pace with mac. Thank you Firewing
Edt: Awesome My 100th Post

Last edited by duke11235; 22nd November 2009 at 11:40 PM.
Reply With Quote
Reply

Tags
apple, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apple macbook chinnaraja Hardware & Laptops 1 2nd October 2007 07:31 AM
Watch out Apple ibbo Wibble 29 1st October 2007 03:11 AM
DNS and Apple Airport ScottishCaptain Servers & Networking 0 18th February 2006 09:23 AM


Current GMT-time: 19:41 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat