Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Flash drive booting project questions Post 302510318 by Zygomorph on Sunday 3rd of April 2011 01:11:27 AM
Old 04-03-2011
Flash drive booting project questions

My current machine is a Macbook pro running Snow Leopard. I want to mess around with various *nix OSes but not in a way that threatens the current working condition of this machine. The way around this seems to be to install various operating systems on a largish flash drive, boot from that, and mess around on the drive itself without touching the hard disk. My tentative plan is something like this.

Use a 16 gig flash drive as a boot disk for various systems, partitioned four ways into 4 gig partitions. I'm planning on putting FreeBSD on one partition, Arch Linux on another, Haiku on a third, and using the fourth as a communal swap space.
Use a 1 gig flash drive as an installation medium, i.e. turn it into a live bootable drive for whatever OS I want to install at the time.

Before beginning this project, I have a few questions.

1) Is this even remotely a good idea?

2) Will 4 gig partitions be enough? I know Arch can be run on practically nothing, and the FAQs for FBSD and Haiku imply that 4 gigs are within the minimum system requirements, but that doesn't really explain how constraining such an environment would be.

3) Should I include a swap partition on the flash drive? It doesn't seem to be good for the longevity of the flash drive, but swap in general is needed and I really really do not want to touch my main boot disk.

4) Is this feasible for a non power-user? I know my way around Unix-like systems, but one of the main reasons I'm doing this is as a learning experience. Hence, I expect to have to learn a lot of stuff, but I want to know if I should attempt this sort of unconventional/strange setup without more experience under my belt.

5) Are the above OSes interesting and different enough to warrant individual investigation? This is a bit of a subjective and personal question, but I do want to try to get both a fair bit of breadth and depth of perspective on the differences, weakness, and strengths of the various OSes out there.


Any tips, tricks, warnings, and advice would be greatly appreciated. Thanks a lot in advance.
 

9 More Discussions You Might Find Interesting

1. Solaris

USB flash Drive

Hello all.. I have a Verbatim 2 GB flash drive. I also have Solaris 10 running on my workstation. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in solaris, nothing happens. How will solaris 10 detect my flash drive? What do I have to do? any... (4 Replies)
Discussion started by: vr76413
4 Replies

2. UNIX for Dummies Questions & Answers

USB flash drive is not mounting what to do...?

hello forum.. i am using RHEL 4.0 and my system is dual boot.normally the usb flash drive should be auto mount , but in my system i am unable to mount the drive plz help... i am a new user so plz give me in detail. thank u in advance. (5 Replies)
Discussion started by: manoranjan
5 Replies

3. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

4. Ubuntu

Flash drive space issues

Hello, I have a 2 GB RealTek flash drive that has worked well in the past. It's about 1 year old but lately when I plug it into my Ubuntu Intrepid system it only shows 50 MB available even though there are no files on it: $ df -k /media/disk-1 Filesystem 1K-blocks Used... (1 Reply)
Discussion started by: mgb
1 Replies

5. Solaris

removable flash drive

I have a removable usb flash drive which is visible below as no. 2 # rmformat Looking for devices... 1. Volmgt Node: /vol/dev/aliases/cdrom0 Logical Node: /dev/rdsk/c0t0d0s2 Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0 Connected Device: HL-DT-ST DVD+-RW... (4 Replies)
Discussion started by: seyiisq
4 Replies

6. Solaris

removable usb flash drive

# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c0t0d0p0 Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0 Connected Device: HL-DT-ST DVD+-RW GWA4164B E113 Device Type: DVD Reader/Writer 2. Logical Node: /dev/rdsk/c2t0d0p0 Physical Node:... (26 Replies)
Discussion started by: seyiisq
26 Replies

7. UNIX for Dummies Questions & Answers

Installing Solaris 10 on Flash Drive

Where can I find instructions for doing this? I am running Win XP and would like to be able to run solaris 10 from my flash drive. Thanks, Carrie (3 Replies)
Discussion started by: Carrie Heiser
3 Replies

8. UNIX for Dummies Questions & Answers

Flash drive recovering data.

I have a flash drive which contained very important docs. But somebidy accidently dleted those files. I want to recover these files anyhow. I have listened the Linux have best possible chances of recovering it. Can anybody tell me how to recover that? (1 Reply)
Discussion started by: nixhead
1 Replies

9. Red Hat

help regarding installing FEDORA on flash drive

How should i install Fedora onto flash drive .. to boot the OS from flash drive.. plz help me in that!! :( (4 Replies)
Discussion started by: dude_me5
4 Replies
KEXTLOAD(8)						    BSD System Manager's Manual 					       KEXTLOAD(8)

NAME
kextload -- load kernel extensions (kexts) into the kernel SYNOPSIS
kextload [options] [--] [kext ...] DESCRIPTION
The kextload program is used to explicitly load kernel extensions (kexts). For most kexts, kextload must run as the superuser (root). Kexts installed under /System/ with an OSBundleAllowUserLoad property set to true may be loaded via kextload by non-root users. Notice: On Mac OS X 10.6 (Snow Leopard), the developer functionality of kextload has moved to the new program kextutil(8); all developer- related options have been removed from kextload and are no longer recognized. On Mac OS X 10.6 (Snow Leopard), kextload simply forwards a load request to kextd(8), which performs all communication with the kernel. kextload is a formal interface for kext loading in all versions of Darwin OS and Mac OS X. Software and installers can rely on its presence and invoke it in order to load kexts. Note that long options are present as of Mac OS X 10.6 (Snow Leopard). Mac OS X 10.6 (Snow Leopard) introduces C functions for loading kexts: KextManagerLoadKextWithIdentifier() and KextManagerLoadKextWithURL(), which are described in Apple's developer documentation. ARGUMENTS AND OPTIONS
kext The pathname of a kext bundle to load. The kext's plugins are available for dependency resolution. Kexts can also be specified by CFBundleIdentifier with the -bundle-id option. -b identifier, -bundle-id identifier Look up the kext whose CFBundleIdentifier is identifier within the set of known kexts and load it. The kext of the highest CFBundleVersion with the given identifier is used; in the case of version ties, the last such kext specified on the command line is used. See the -dependency and -repository options for more information. -d kext, -dependency kext Add kext and its plugins to the set of known kexts for resolving dependencies. This is useful for adding a single kext from a directory while excluding the others. See the -repository option for more information. -h, -help Print a help message describing each option flag and exit with a success result, regardless of any other options on the command line. -q, -quiet Quiet mode; print no informational or error messages. -r directory, -repository directory Use directory as a repository of kexts. This adds to the set of known kexts for resolving dependencies or looking up by CFBundleI- dentifier when using the -bundle-id option. This is not recursive; only kexts directly within the directory, and their plugins, are scanned. See also the -dependency option. -v [0-6 | 0x####], -verbose [0-6 | 0x####] Verbose mode; print information about program operation. Higher levels of verbosity include all lower levels. You can specify a level from 0-6, or a bitmask of flags as a hexadecimal number prefixed with 0x (as described in kext_logging(8)). Because kextload messages kextd(8), to perform the actual work of loading, the decimal levels 1-6 generally have little effect. You may wish to use kextutil(8) if you want verbose output about the kext loading operation. -- End of all options. Only kext names follow. EXAMPLES
To load a kext, run kextload and supply a kext bundle name; no options are required: kextload TabletDriver.kext Alternatively, you can use the -bundle-id (-b) option to specify a kext by its CFBundleIdentifier: kextload -bundle-id com.mycompany.driver.TabletDriver With no additional options kextload looks in the extensions directories (/System/Library/Extensions/ and /Library/Extensions/) for a kext with the given CFBundleIdentifier. Adding repository directories with the -repository option or individual kexts with the -dependency option expands the set of kexts that kextload looks among for dependency resolution and for loading by bundle identifier: kextload -repository /Applications/MyApp.app/Contents/Resources TabletDriver.kext FILES
/System/Library/Extensions/ The standard system repository of kernel extensions /Library/Extensions/ The standard repository of non Apple kernel extensions DIAGNOSTICS
kextload exits with a zero status if all kexts specified load successfully (or are already loaded). If any kext fails to load, kextload prints an error message for that kext, continues trying to load any remaining kexts, then exits with a nonzero status. For a kext to be loadable, it must be valid, authenticated, and all dependencies of the kext must be available and loadable. A valid kext has a well formed bundle, info dictionary, and an executable built for the running kernel's architecture. An authentic kext's component files, not including plugins, are owned by root:wheel, with permissions nonwritable by group and other. If your kext fails to load, try using kextutil(8) to examine the kext for problems. SEE ALSO
kextcache(8), kextd(8), kextstat(8), kextunload(8), kextutil(8), kext_logging(8) Darwin November 14, 2012 Darwin
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy