![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#141 | |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Beans: 86
|
Re: Ubuntu on a USB drive?
Quote:
I'm looking around for some tutorials etc., but if anyone here can already suggest a way to modify the existing LiveUSB install-process to include Grub rather than Syslinux, let me know. |
|
|
|
|
|
#142 |
|
A Carafe of Ubuntu
![]() |
Re: Ubuntu on a USB drive?
kabanta:
I'd try also if I had the time, but right now I can't. Syslinux does not rely on GRUB. When you boot your pen drive using syslinux, there is no copy of GRUB on the drive. As far as I know they are independent bootloaders. I think the process of making a USB pen drive to use GRUB instead of syslinux would go as follows: 1. In my post #100, don't do steps 6 and 7 (don't copy the syslinux files and no need to duplicate the kernel, initrd, and memtest files at the root level; leave them where they are). 2. Size the main partition accordingly so that the caper-rw partition can be as large as possible. 3. Install GRUB to the MBR of the pen drive. You can find instructions for doing this in the GRUB manual, section 3.2. The manual is at http://www.gnu.org/software/grub/manual/grub.html 4. Try booting the system by manually entering GRUB commands as described in the GRUB manual, section 4. If this works, then you can go on to the next step. 5. Create the menu.lst file for GRUB (see manual section 5). Copy the general syntax by looking at your /boot/grub/menu.lst file on your current Linux box. Under the menu choices you could set up GRUB to boot the same variants as syslinux was doing -- Live, Persistent, memtest, etc. just by adding the appropriate lines to the menu.lst file. The syntax would be kind of similar to the lines in the syslinux.cfg file, but you'd have to check the GRUB manual to be sure of the exact required syntax. Setting up the ramdisk is the one area that I'm the least sure of how to do. This would require further research. Mark |
|
|
|
|
#143 | |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Beans: 86
|
Re: Ubuntu on a USB drive?
Quote:
|
|
|
|
|
|
#144 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2004
Location: earth
Beans: 61
Ubuntu 8.10 Intrepid Ibex
|
Re: Ubuntu on a USB drive?
Hi, thanks to all of this information, I finally got Dapper running on my USB key. One thing bothers me though: the 'dapper' disk (as opposed to the 'casper' one) seems to be writable. Should it not be loaded read only so as to save writes to the flash memory?
|
|
|
|
|
#145 |
|
A Carafe of Ubuntu
![]() |
Re: Ubuntu on a USB drive?
That sounds reasonable. Remember though that the system runs from ramdisk, and the ramdisk must be mounted as read/write.
|
|
|
|
|
#146 | |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Beans: 86
|
Re: Ubuntu on a USB drive?
Quote:
have access to a 4gb flash-drive -- and it requires some tricks to get my computer to recognize it as bootable with such a large drive. So, I have not succeeded yet to get this working -- and I'm not sure how soon I can get back to this. However, here are some instructions that may help someone else to finish in the meantime. Based on your (Kolo) steps:
Last edited by kabanta; June 28th, 2006 at 10:54 AM.. |
|
|
|
|
|
#147 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
My beans are hidden!
|
Re: Ubuntu on a USB drive?
Hi people!
I was just wondering, since you people know about tech stuff, which is the fastest flash drive out there? I succesfully got LiveUbuntu on an old usb drive and it's cool but kinda slow Thanks |
|
|
|
|
#148 |
|
A Carafe of Ubuntu
![]() |
Re: Ubuntu on a USB drive?
http://www.tomshardware.com/2005/08/...ves/index.html
The article is a little old, so perhaps there's something faster now. Here's a more recent article: http://chris.pirillo.com/2006/06/02/...t-flash-drive/ |
|
|
|
|
#149 | |
|
Just Give Me the Beans!
![]() Join Date: Dec 2004
Location: earth
Beans: 61
Ubuntu 8.10 Intrepid Ibex
|
Re: Ubuntu on a USB drive?
Quote:
I won't pretend to know exactly what that means, but 'fair enough'. Next on the agenda: how to encrypt the Casper partition and therefore protect against loss/theft... any clues? |
|
|
|
|
|
#150 | |
|
Quad Shot of Ubuntu
![]() |
Re: Ubuntu on a USB drive?
Quote:
I would suggest that you would do it in a similar fashion to http://ubuntuforums.org/showthread.php?t=120091 only making some changes. It would also require (to my knowledge) that we can get the LiveUSB working with GRUB as the bootloader. To encrypt the casper-rw would be more difficult as I would think that you would have to play around inside the squashfs file (I may be mistaken). You may be able to link the encryption into the GRUB section to it would un encrypt both partitions off the one command however I'm only guessing whether this is possible. Just my 2c. Last edited by andrewsawyer; June 29th, 2006 at 04:29 AM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|