Re: external hard drive for mobile pc

2008-01-17 Thread Jerry McAllister
On Wed, Jan 16, 2008 at 07:55:20PM -0800, Eric LaVoie wrote:

> Will FreeBSD work if I install it on an external hard drive, connected to a 
> mobile PC via USB or FireWire, as a partition ( the two partitions being the 
> mobile PC's internal Hardrive and this external hard drive which I am asking 
> about.)?
> If the answer is yes: can you provide me with links to some documentation 
> covering how I would create the partition on the external hard drive ( this 
> partition would cover as much of this drive as possible with the internal one 
> being used for Windows Vista.); and how I can burn bootable DVD-RWs from the 
> .iso image files of FreeBSD which I downloaded from your site?
> Thank-you for your time,
> Eric

Well, I have an external USB drive on my deskside machine and I don't see 
how it should be different for a mobile one, except you might not want to
always carry the external drive with you.   So, you will want to 'noauto' 
it in fstab, so it doesn't always try to mount it at boot time.  Then
you can mount it manually when you need it.  You will most likely have
to have it plugged in at boot time if you want to use it so the system
knows to make a device for it.

The process of creating slices and partitions/filesystems on an
external drive are exactly the same as doing it on an internal drive.
You should be able to use either fdisk/bsdlabel/newfs or have sysinstall
do it for you.   

I had some trouble because the drive I had was larger than the slice
size limit those things would handle on V 6.1 which I was using on that
machine then.   So, I had to use gparted to create 3 slices.  Then I
was able to do it in a standard manner - just as described in the
handbook for adding drives and in numerous posts to the list - I have
made several - and some FAQs in online publications.   So, just a 
little searching for adding a disk will get you what you need.

Remember, that in FreeBSD, primary divisions of the disk are
called 'slices' and slices can be subdivided in to 'partitions'.

Microsloth mangles those so that primary divisions are called
primary partitions and subdivisions are called extended partitions
but their extended partitions are not compatible with UNIX, although
there are UNIX ways of talking to them.

jerry

> __
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: external hard drive

2004-11-04 Thread Lloyd Hayes
I re-installed the system last night. Weather was bad and I decided to 
close work down early.
I got to thinking about it, and simply did a search for "da*" in the 
device directory. It came up with "da0" and "da0s1". "da0" produces 
errors. "da0s1" loaded my Buslink external HD fine. Problem solved for 
that drive.

The small drive enclosure is a different matter The computer lights 
the power light up on the case, and causes the drive to make that 
ticking noise. But if I do a hotplug, I don't get any notices the way 
that I do with the Buslink HD. I'm beginning to think that I may have 
been mistaken about FreeBSD seeing this drive last spring. It doesn't 
appear to see it now. Or, else it sees it as something different.

Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: external hard drive

2004-11-02 Thread Lloyd Hayes
I just tried putting vfat in the fstab for file type having just the 
Buslink drive connected, not the small drive enclosure. Using mount -a, 
I got  "Inappropriate  file type or  format"
I'm logged in as root.

I am beginning to suspect that I installed too much software during this 
Install. It is being picked up, but I don't know how it's being 
interpreted. I'm beginning to think that FBSD thinks it's a clock. 
(Tic-Toc.)

Anyway, I just realized that I installed more software this time, then 
at any previous time. I posted my dmesg, fstab, and rc.conf files 
earlier. I think that I may have over done it and created a conflict 
somewhere. I think that I'll give this a rest, then simply wipe the disk 
and re-install everything when I get time again.

As far as external drives goes, the Buslink 40 GB hard drive seems to be 
extremely good. It stands up to being turned on 24 hours per day and 7 
days per week while bouncing around in my truck on a wood shelf. (It's 
about 3 or 4 years old. Possibly older.) Usually, all of the systems can 
find this drive.

But drive closures for old hard drives, this one that I have from 
CompUSA seems to do a good job. It comes with a leather case to fasten 
to my belt, if I wanted it there. I mentioned the problems with Win 
98SE. (Conflict between USB CD ROM and this drive.) None of the Linux 
distros that I've tried could see it. (Slackware, Debian, Red Hat 9, 
Fedora 2, SUSE Live CD, Knoppix.) The only UNIX system that could use it 
was FreeBSD, and that was when I had FreeBSD installed last Spring. This 
drive has one of those special USB connection cables which are used on 
some cameras and small devices. USB on computer end and a very small 
plug on the hard drive end. The cable wears out every every once in a 
while. If you get on, get an extra cable.
(Note: Right now, the cable seems to work OK when I hook it into my 
Toshiba laptop, which runs Win XP. So, I don't think that I have a 
problem with the cable.)

This will go out the next time that I hook into the Internet. Messages 
will probably cross...


Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


dave wrote:
Hi,
Thanks for confirmation that that drive should work for me. I am considering
also getting a comp usa enclossure and i like the idea that anything will
pick it up.
   Anyway, for your mount line try vfat as the fs type and check with
dmesg -a to see if that drive showed up on boot. If it's usb make sure usbd
is enabled in rc.conf.
HTH
Dave.

 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: External Hard drive

2004-11-01 Thread Jeremy Faulkner
On Tue, 2004-11-02 at 00:01, Lloyd Hayes wrote:
> The information which you requested is at the bottom. dmesg, fstab, and 
> rc.conf.
> While the 'dmesg' refers to a printer, I haven't hooked one up to this 
> system yet. I figured that I would deal with one problem at a time. So 
> far, none of the UNIX type systems has liked much of my equipment, and I 
> have a lot more to add to it

The "lpt0:  on ppbus0" is nothing to worry about, the system
does *not* think you have a printer attached. It thinks you have a
parallel port and created the associated printer port (in software).

 
>  But I attribute that to my own lack of 
> knowledge on UNIX type systems, and on networking in general.



> FreeBSD seems to be very difficult for me to learn, but I also think 
> that it may be the way to go, too.

The FreeBSD Handbook should be able to help with that.


> uhci0:  port 0xfce0-0xfcff irq 
> 10 at device 7.2 on pci0
> usb0:  on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2
> uhub1: 4 ports with 4 removable, bus powered



> ohci0:  mem 0x88002000-0x88002fff irq 10 at 
> device 0.0 on cardbus1
> usb1: OHCI version 1.0
> GEOM: create disk ad0 dp=0xc2a55360
> ad0: 6194MB  [13424/15/63] at ata0-master UDMA33
> acd0: CDROM  at ata1-master PIO4
> usb1:  on ohci0
> usb1: USB revision 1.0
> uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 3 ports with 3 removable, self powered
> Mounting root from ufs:/dev/ad0s1a
> cardbus1: Resource not specified in CIS: id=10, size=1000
> ohci1:  mem 0x88003000-0x88003fff irq 10 at 
> device 0.1 on cardbus1
> usb2: OHCI version 1.0
> usb2:  on ohci1
> usb2: USB revision 1.0
> uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> umass0: Buslink USB 2.0 Hard Drive, rev 2.00/11.00, addr 2

Here is your hard drive.

> cardbus1: Resource not specified in CIS: id=10, size=100
> cardbus1:  at device 0.2 (no driver attached)
> GEOM: create disk da0 dp=0xc2be6050
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:  Fixed Direct Access SCSI-0 device
> da0: 1.000MB/s transfers
> da0: 38204MB (78242976 512 byte sectors: 255H 63S/T 4870C)

Here is the drive being created and to be accessible as a disk in the
system.

> umass1: Acer Labs USB 2.0 Storage Device, rev 2.00/1.03, addr 2

Here is your cdrom.

> GEOM: create disk cd0 dp=0xc2ae6600
> cd0 at umass-sim1 bus 1 target 0 lun 0
> cd0: < COMBO-52X16C 1.83> Removable CD-ROM SCSI-0 device
> cd0: 1.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present 
> - tray closed
> 

Running usbdevs as root will show exactly what usb devices the system
knows about (that are currently connected). You should expect to see a
lot of usb hubs along with the hard drive and cdrom.

> fstab:
> # DeviceMountpointFStypeOptionsDumpPass#
> /dev/ad0s1bnoneswapsw00
> /dev/ad0s1a/ufsrw11
> /dev/ad0s1e/tmpufsrw22
> /dev/ad0s1f/usrufsrw22
> /dev/ad0s1d/varufsrw22
> /dev/cd0/cdromcd9660ro,noauto00
> /dev/acd0/cdrom1cd9660ro,noauto00
> /dev/da0/usb0   msdos   noauto  0   0

The line for /dev/da0 should have ro,noauto or rw,noauto for the Options
column.

> # This file now contains just the overrides from /etc/defaults/rc.conf.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> svr4_enable="YES"
> linux_enable="YES"
> ibcs2_enable="YES"
> usbd_enable="YES"
> lpd_enable="YES"
> moused_enable="YES"
> named_enable="YES"
> apm_enable="YES"
> exim_enable="YES"
> sendmail_enable="NONE"
> router_flags="-q"
> router="/sbin/routed"
> router_enable="YES"
> rpcbind_enable="YES"
> rpc_statd_enable="YES"
> rpc_lockd_enable="YES"
> sshd_enable="YES"
> rwhod_enable="YES"
> inetd_enable="YES"
> ipv6_enable="YES"
> start_vinum="yes"
> hostname="traveler2.hayes.org"

There are a lot of sysinstall generated comments that you don't need in
your rc.conf file. Also, you have a lot of network server daemons
running and no ip assignment in sight. A look back at your dmesg shows
you don't have any network ports that were found by the system. Then
again, you did say that you were testing the system, so I guess you're
testing the configurations on the loop back device.
-- 
Jeremy Faulkner <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Re: External Hard drive

2004-11-01 Thread Lloyd Hayes
The information which you requested is at the bottom. dmesg, fstab, and 
rc.conf.
While the 'dmesg' refers to a printer, I haven't hooked one up to this 
system yet. I figured that I would deal with one problem at a time. So 
far, none of the UNIX type systems has liked much of my equipment, and I 
have a lot more to add to it

In reading your message, I see that I need to clear one point up. I've 
had version 5.0, 5.2, 5.2.1 and 5.3 of FreeBSD on this laptop. I have 
also had several versions of Linux on this laptop. It is a test computer 
for trying out various systems to see what will work for me. The systems 
installed were installed after the hard disk was re-formated and wiped 
clean. There was no remaining information on the hard drive. It was a 
completely clean install.
(Note: If you remove the FreeBSD partitions, then simply re-create a 
FreeBSD partition system on the same drive, the information is still 
there on the hard drive. You can even read your old files.  I wiped the 
drive before installing  it by writing to every block on the hard drive 
between removing one and installing the next operating system. I have a 
couple of special programs which run from a floppy which do this.)

I use computers all day, every day. I'm a truck driver. Computers are 
integrated into the trucking business. Trucking companies employ a vast 
number of IT professionals. In the last few years, drivers have had to 
learn about computers. I had a head start. In many communities and for 
several years now, truck drivers are the most numerous group of computer 
buyers. I need a computer in my truck everyday, and at home when I'm 
there, and I need them all day long. Computers that I can count on. 
Microsoft systems have never been real dependable. With the various 
viruses floating around, they have become even less dependable. I have 
been looking to see what I can replace the MS operating system with for 
daily usage. When I am satisfied, then that operating system will end up 
on several of my computers. But not until then.  I haven't found any 
that I am satisfied with. But I attribute that to my own lack of 
knowledge on UNIX type systems, and on networking in general. Using this 
older backup computer is the way that I have chosen to figure this out.

FreeBSD seems to be very difficult for me to learn, but I also think 
that it may be the way to go, too.

Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


Jeremy Faulkner wrote:
On Mon, 2004-11-01 at 17:15, Lloyd Hayes wrote:
 

Yes, this drive works fine under windows XP. It has fat32 file system on it.
When I had FBSD v5.2.1 on this computer several months ago and the 
system recognized it fine. But none of the Linux distros would recognize it.

However, I realized last night that this installation of FBSD is not 
recognizing my 40 GB Buslink hard which all versions of UNIX has 
recognized, including FBSD when I had it on before. I use this drive all 
of the time. FBSD did recognize it during the installation process, but 
I hadn't looked at it since until last night. It also has a Fat32 
format. I'm beginning that SSH is the problem. I did not have it 
installed before.

Lloyd Hayes
   

How could SSH possibly be the problem. If you had FreeBSD installed
before and it saw the drive, which is my understanding from your
previous email to the list, then you had SSH installed before because
ssh has been in the base install for quite a while.
You listed the symptoms of your problem and your interpretation of them,
could you now post your dmesg, fstab and rc.conf to the list so we can
actually help instead of just listen to you describe your problem?
 

Dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a351f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (quarter-micron) (233.86-MHz 586-class CPU)
 Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
 Features=0x8001bf
real memory  = 234860544 (223 MB)
avail memory = 218488832 (208 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f6610
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_cmbat0:  on acpi0
acpi_acad0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib0: slot 2 INTA is routed to irq 10
pcib0: slot 7 INTD is routed to irq 10
pc

Re: External Hard drive

2004-11-01 Thread Jeremy Faulkner
On Mon, 2004-11-01 at 17:15, Lloyd Hayes wrote:
> Yes, this drive works fine under windows XP. It has fat32 file system on it.
> 
> When I had FBSD v5.2.1 on this computer several months ago and the 
> system recognized it fine. But none of the Linux distros would recognize it.
> 
> However, I realized last night that this installation of FBSD is not 
> recognizing my 40 GB Buslink hard which all versions of UNIX has 
> recognized, including FBSD when I had it on before. I use this drive all 
> of the time. FBSD did recognize it during the installation process, but 
> I hadn't looked at it since until last night. It also has a Fat32 
> format. I'm beginning that SSH is the problem. I did not have it 
> installed before.
> 
> Lloyd Hayes

How could SSH possibly be the problem. If you had FreeBSD installed
before and it saw the drive, which is my understanding from your
previous email to the list, then you had SSH installed before because
ssh has been in the base install for quite a while.

You listed the symptoms of your problem and your interpretation of them,
could you now post your dmesg, fstab and rc.conf to the list so we can
actually help instead of just listen to you describe your problem?
-- 
Jeremy Faulkner <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Re: external hard drive

2004-11-01 Thread Lloyd Hayes
Don't have a clue as to the type of drive. I bought it at CompUSA over a 
year ago. On the case, it simply says:
USB2.0
2.5" slim

It works fine under Win XP. It is an IBM hard drive within the case.
But I realized last night that I am having similar problems with a 40 
Buslink external hard drive, connect by USB plug, which I use all of the 
time. It did recognize it during the installation process, but I hadn't 
checked it again until last night. I posted this a minute ago, but I 
think the problem is the SSH program. This was the 1st time that I had 
it hooked up after installing the system. This is a drive that is 
usually recognized by any operating system, and was also recognized by 
FBSD when I had it installed before.
(I know someone is going to say that I shouldn't have changed it)

Maybe I am missing something here, or have forgotten something, or 
haven't read something. I have 3 FreeBSD books and have printed out the 
new online manual. I'm trying to mount it using:
mount_msdosfs /dev/da0 /usb0

I have the '/usb0' directory created in my '/' dir.
I also have the following in my fstab:
/dev/da0 /usb0   msdos   noauto 0 0
I am getting an error from this line when I try using 'mount -a'.
I'm trying to remember the error, but it referred to file system type. 
This drive is formated as a fat32 file system.


Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


dave wrote:
Hello,
   Not sure of what is happening, it sounds like your drive is at least
being seen because as you say something is working it. Have you tried
booting in debug mode?
   What enclossure are you using for this drive? I am thinking about
replacing mine, i got a sanmax or sandisk can't remember which the company
was terible it died 3 months later and they won't go for it, pitiful
service, so i was wondering in case i decide to replace it.
Thanks.
Dave.

 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: External Hard drive

2004-11-01 Thread Lloyd Hayes
Yes, this drive works fine under windows XP. It has fat32 file system on it.
When I had FBSD v5.2.1 on this computer several months ago and the 
system recognized it fine. But none of the Linux distros would recognize it.

However, I realized last night that this installation of FBSD is not 
recognizing my 40 GB Buslink hard which all versions of UNIX has 
recognized, including FBSD when I had it on before. I use this drive all 
of the time. FBSD did recognize it during the installation process, but 
I hadn't looked at it since until last night. It also has a Fat32 
format. I'm beginning that SSH is the problem. I did not have it 
installed before.

Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


Dick Davies wrote:
* Lloyd Hayes <[EMAIL PROTECTED]> [1056 19:56]:
 

I have been using this 6 year old laptop as a test bed for the different 
versions of Linux and FreeBSD. (The built-in CD ROM is almost worn out.) 
I just put v5.2.1 back on this laptop. It doesn't want to recognize this 
hard drive. I have checked the 'dmesg' and can't see any mention of this 
connection. I can connect and disconnect this drive while the system is 
running and not get any messages. I have ssh running and it is obviously 
doing something to the drive since I hear the drive clicking on/off. In 
fact, it sounds like a clock. (I am constantly getting messages from ssh.)
   

Drive has died? Can you see it under winders?
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: External Hard drive

2004-11-01 Thread Dick Davies
* Lloyd Hayes <[EMAIL PROTECTED]> [1056 19:56]:
> I have been using this 6 year old laptop as a test bed for the different 
> versions of Linux and FreeBSD. (The built-in CD ROM is almost worn out.) 
> I just put v5.2.1 back on this laptop. It doesn't want to recognize this 
> hard drive. I have checked the 'dmesg' and can't see any mention of this 
> connection. I can connect and disconnect this drive while the system is 
> running and not get any messages. I have ssh running and it is obviously 
> doing something to the drive since I hear the drive clicking on/off. In 
> fact, it sounds like a clock. (I am constantly getting messages from ssh.)

Drive has died? Can you see it under winders?

-- 
Bender, Ship, stop arguing or I'll come back there and change
your opinions manually. - Leela
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"