USB – Flash drive * College Student Install *

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Re: USB – Flash drive * College Student Install *

Postby mcurtiss1970 on Mon Feb 04, 2008 2:45 pm

linux mint new user here though i've been playing about with linux (ubuntu, pclinuxos) for a little while.

my first dose of linux on a usb stick was pclinuxos mini me. that distro had a neat utility called KUSBHOME which set up the persistent partitions. i did some scrounging and found the programmer's page: http://www.alexbelgraver.nl/mkusbfront/. there's a tar.gz file ready for download as well.

so.....is there any reason to believe that this wouldn't once installed on a LinuxMint stick?
mcurtiss1970
 

Linux Mint is funded by ads and donations.
 

Re: USB – Flash drive * College Student Install *

Postby smash102 on Mon Feb 11, 2008 2:52 pm

mcurtiss1970 wrote:linux mint new user here though i've been playing about with linux (ubuntu, pclinuxos) for a little while.

my first dose of linux on a usb stick was pclinuxos mini me. that distro had a neat utility called KUSBHOME which set up the persistent partitions. i did some scrounging and found the programmer's page: http://www.alexbelgraver.nl/mkusbfront/. there's a tar.gz file ready for download as well.

so.....is there any reason to believe that this wouldn't once installed on a LinuxMint stick?



I tried to install this and go the following error:

Code: Select all
root@mint:/home/mint/Desktop/kusbhome# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


config.log

Code: Select all
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = mint
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1561: checking build system type
configure:1579: result: i686-pc-linux-gnulibc1
configure:1587: checking host system type
configure:1601: result: i686-pc-linux-gnulibc1
configure:1609: checking target system type
configure:1623: result: i686-pc-linux-gnulibc1
configure:1670: checking for a BSD-compatible install
configure:1725: result: /usr/bin/install -c
configure:1740: checking for -p flag to install
configure:1753: result: yes
configure:1764: checking whether build environment is sane
configure:1807: result: yes
configure:1827: checking for gawk
configure:1856: result: no
configure:1827: checking for mawk
configure:1843: found /usr/bin/mawk
configure:1853: result: mawk
configure:1863: checking whether make sets $(MAKE)
configure:1883: result: yes
configure:2096: checking for style of include used by make
configure:2124: result: GNU
configure:2271: checking for gcc
configure:2287: found /usr/bin/gcc
configure:2297: result: gcc
configure:2541: checking for C compiler version
configure:2544: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2547: $? = 0
configure:2549: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2552: $? = 0
configure:2554: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2557: $? = 1
configure:2580: checking for C compiler default output file name
configure:2583: gcc     conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2586: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kusbhome"
| #define VERSION "0.3"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2625: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnulibc1
ac_cv_target_alias=i686-pc-linux-gnulibc1

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/mint/Desktop/kusbhome/admin/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/mint/Desktop/kusbhome/admin/missing --run tar'
AR=''
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/mint/Desktop/kusbhome/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/mint/Desktop/kusbhome/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mint/Desktop/kusbhome/admin/missing --run automake-1.7'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=' '
CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DCOPIDL2CPP=''
DCOPIDL=''
DCOPIDLNG=''
DCOP_DEPENDENCIES=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FRAMEWORK_COREAUDIO=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KCFG_DEPENDENCIES=''
KCONFIG_COMPILER=''
KDECONFIG=''
KDE_EXTRA_RPATH=''
KDE_INCLUDES=''
KDE_LDFLAGS=''
KDE_MT_LDFLAGS=''
KDE_MT_LIBS=''
KDE_NO_UNDEFINED=''
KDE_PLUGIN=''
KDE_RPATH=''
KDE_USE_CLOSURE_FALSE=''
KDE_USE_CLOSURE_TRUE=''
KDE_USE_FINAL_FALSE=''
KDE_USE_FINAL_TRUE=''
KDE_USE_NMCHECK_FALSE=''
KDE_USE_NMCHECK_TRUE=''
KDE_XSL_STYLESHEET=''
LDFLAGS=''
LIBCOMPAT=''
LIBCRYPT=''
LIBDL=''
LIBJPEG=''
LIBOBJS=''
LIBPNG=''
LIBPTHREAD=''
LIBRESOLV=''
LIBS=''
LIBSM=''
LIBSOCKET=''
LIBTOOL=''
LIBUCB=''
LIBUTIL=''
LIBZ=''
LIB_KAB=''
LIB_KABC=''
LIB_KDECORE=''
LIB_KDEPIM=''
LIB_KDEPRINT=''
LIB_KDEUI=''
LIB_KFILE=''
LIB_KFM=''
LIB_KHTML=''
LIB_KIO=''
LIB_KPARTS=''
LIB_KSPELL=''
LIB_KSYCOCA=''
LIB_KUTILS=''
LIB_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/mint/Desktop/kusbhome/admin/missing --run makeinfo'
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT=''
PACKAGE='kusbhome'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
QTE_NORTTI=''
QT_INCLUDES=''
QT_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TOPSUBDIRS=''
UIC=''
UIC_TR=''
USER_INCLUDES=''
USER_LDFLAGS=''
USE_EXCEPTIONS=''
USE_RTTI=''
USE_THREADS=''
VERSION='0.3'
WOVERLOADED_VIRTUAL=''
XGETTEXT=''
XMLLINT=''
X_EXTRA_LIBS=''
X_INCLUDES=''
X_LDFLAGS=''
X_PRE_LIBS=''
X_RPATH=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
all_includes=''
all_libraries=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
include_ARTS_FALSE=''
include_ARTS_TRUE=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/mint/Desktop/kusbhome/admin/install-sh'
kde_appsdir=''
kde_bindir=''
kde_confdir=''
kde_datadir=''
kde_htmldir=''
kde_icondir=''
kde_includes=''
kde_kcfgdir=''
kde_libraries=''
kde_libs_htmldir=''
kde_libs_prefix=''
kde_locale=''
kde_mimedir=''
kde_moduledir=''
kde_qtver=''
kde_servicesdir=''
kde_servicetypesdir=''
kde_sounddir=''
kde_styledir=''
kde_templatesdir=''
kde_wallpaperdir=''
kde_widgetdir=''
kdeinitdir=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/kde'
program_transform_name='s,x,x,'
qt_includes=''
qt_libraries=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnulibc1'
target_alias=''
target_cpu='i686'
target_os='linux-gnulibc1'
target_vendor='pc'
x_includes='NONE'
x_libraries='NONE'
xdg_appsdir=''
xdg_directorydir=''
xdg_menudir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "kusbhome"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.3"

configure: exit 77
smash102
Level 1
Level 1
 
Posts: 17
Joined: Sun Jan 20, 2008 12:13 am

Re: USB – Flash drive * College Student Install *

Postby Kendrkin on Mon Feb 18, 2008 11:50 pm

Hello all,

For accessing files from Windows and Linux, here is what I had to do. I am a n00b, as well. I was blessed to get a 12G flash drive (PNY Technologies MaxFile Attache) for work. Because some of my job involves computer troubleshooting, I wanted to have a Linux OS for some diagnostics as well as for play. I did need much of the drive for work stuff, and we use WinXP. I partitioned the drive; the first 8Gigs as fat16, so it could be read by Windows as well as Linux; and then following the penlinux.com directions, I partitioned 2Gigs for Linux, with the rest for the casper-rw piece. Persistance was not important to me at the time, and was broken on the version I was playing with (Mint 3.0). I had to use GRUB for the boot (loaded on the 2nd partition). This allowed me to access the files no matter which OS I was using.

I also use PortableApps on the Windows partition for programs that I might need, so I don't have to load them onto my customers' machines, if they don't have what I need. This lets me have access to their printers as well for documents and such.

In response to a USB OS loader, I have been playing with PuppyLinux for my kids' computer. They have a wizard to load the OS onto USB/CF/HD, which is very easy to use. It works, and saves whatever changes into a file onto the drive or CD-R, depending on how you configure it. It does run off of a RAM disc, which makes old hardware seem pretty snappy. It would be nice if a wizard could be built for Mint as well.

I am about to upgrade to the newest flavor of Mint 4.0. I will try the previous methods, and see what works.

Thanks for your time,

Kendrkin
Kendrkin
 

Re: USB – Flash drive * College Student Install *

Postby Persistent USB install on Mon Jun 02, 2008 11:09 am

Why on earth is install on USB drive not an option, on every LiveDistroCD today? And persistent ofcourse ;-)
Great MintCD anyway - very slick...

I will now go URL hunting hoping to see something that should work.

Good luck to all!
Persistent USB install
 

Re: USB – Flash drive * College Student Install *

Postby smash102 on Tue Jun 24, 2008 11:49 pm

Persistent USB install wrote:Why on earth is install on USB drive not an option, on every LiveDistroCD today? And persistent ofcourse ;-)
Great MintCD anyway - very slick...

I will now go URL hunting hoping to see something that should work.

Good luck to all!


I TOTALLY AGREE!!!
smash102
Level 1
Level 1
 
Posts: 17
Joined: Sun Jan 20, 2008 12:13 am

Re: USB – Flash drive * College Student Install *

Postby Nex on Wed Aug 20, 2008 5:49 am

Use liveusb I find that it works about 50/50 but it installs a persistent install the easiest way that I know of
You burn the iso to a CD then download the liveusb program and follow the GUI (Don't use the option to install flash More problems then its worth) if it frezzes you have to restart and try again I got it on my second try
http://ppa.launchpad.net/probono/ubuntu/pool/main/l/liveusb/liveusb_0.0.9_all.deb
Nex
 

Re: USB – Flash drive * College Student Install *

Postby abuster on Thu Sep 18, 2008 1:46 pm

smash102 wrote:Ok, I took everyone's suggestions and did countless hours of testing to make sure I could get a reliable and successful load. I had to use LinuxMint-4.0-KDE-BETA-044.iso version of Mint in order to get this to work. I could not get the Linux Mint-Main version to work with this process. If you can't get this to work or have revision suggestions, please post and I will do my best to trouble shoot it with you and everyone else as I am still testing it too.


After googling and trying a lot, I finally got Linux Mint Main edition to boot in persistent mode!! There seems to be several bugs in the initrd.gz delivered with the release. Here are some background material:

https://wiki.ubuntu.com/LiveUsbPendrivePersistent
http://www.pendrivelinux.com/2007/09/20 ... ersistent/
https://bugs.launchpad.net/ubuntu/+sour ... bug/219192

What you need to do is:
- unpack initrd.gz
- edit the file init (as described in http://www.pendrivelinux.com/2007/09/20 ... ersistent/)
- edit the file scipts/casper (I simply removed ",mode=755" in the mount command)
- pack initrd.gz and replace it (described in http://www.pendrivelinux.com/2007/09/20 ... ersistent/)

Or download my modified initrd.gz here:
http://files.mint-space.com/getfile,200 ... rd.gz.html (will only be available in two days)

I also made my first partition the casper-rw one, with a FAT32 filesystem and a loopback file called casper-rw. That way the partition can also be used in Windows, as well as mounted manually in Mint.
https://help.ubuntu.com/community/LiveC ... ction=show


smash102 wrote:My load times on this on a 400 MHz pc is about 3 min, 1.4 GHz was about the same so that means it's the USB drive I have determined by the read time of 10MB per second.


I have about the same load time with a Dell Inspiron 1525 with 1,8Ghz. Most of the time seems to be wasted when running script casper-premount, the computer simply hangs while it's searching for the root. A modification to this scripts could decrease load time a lot.

As the time of writing, I'm using Mint Linux 5 Main in persistent mode from the USB :D
abuster
Level 1
Level 1
 
Posts: 7
Joined: Thu Sep 18, 2008 1:13 pm

Re: USB – Flash drive * College Student Install *

Postby merlwiz79 on Thu Sep 18, 2008 3:09 pm

abuster wrote:Or download my modified initrd.gz here:
http://files.mint-space.com/getfile,200 ... .html(will only be available in two days)

Mirror:
http://www.4shared.com/file/63517034/7a ... nitrd.html
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Linux Mint is funded by ads and donations.
 
Previous

Return to Installation & Boot

Who is online

Users browsing this forum: truthlesshero and 14 guests