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
SD(4)                                                        Linux Programmer's Manual                                                       SD(4)

NAME
sd - driver for SCSI disk drives SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */ #include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */ CONFIGURATION
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti- tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive. SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num- ber is the number of the physical drive in order of detection, and partition_number is as follows: +3 partition 0 is the whole drive partitions 1-4 are the DOS "primary" partitions partitions 5-8 are the DOS "extended" (or "logical") partitions For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system. At this time, only block devices are provided. Raw devices have not yet been implemented. DESCRIPTION
The following ioctls are provided: HDIO_GETGEO Returns the BIOS disk parameters in the following structure: struct hd_geometry { unsigned char heads; unsigned char sectors; unsigned short cylinders; unsigned long start; }; A pointer to this structure is passed as the ioctl(2) parameter. The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters. BLKGETSIZE Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long. BLKRRPART Forces a reread of the SCSI disk partition tables. No parameter is needed. The SCSI ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) fails with the error EINVAL. FILES
/dev/sd[a-h] the whole device /dev/sd[a-h][0-8] individual block partitions COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 SD(4)
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy