News: This forum is now permanently frozen.
Pages: [1]
Topic: Install on USB flash drive, which image  (Read 6756 times)
« on: March 16, 2012, 14:05:21 »
smithrock *
Posts: 3

Hello, I am very new to m0n0wall and learning. I have read instructions but still have questions.
old computer with the CD drive, no hdd, 3 nics, I can set the motherboard to boot from USB flash drive.
I am trying to install and boot m0n0wall onto USB flash drive.
which method of installation do you suggest that I should use?
1) run the CD with cdrom-1.33.iso then choose option to install onto usb (since there is no other HDD, it installs to the usb)
2) generic-pc-1.33.img, use physdiskwrite to write this image onto usb flash drive.

I tried both methods and both times system boots fine, however, in method 2, when I pull the usb flash drive out, program says cannot find the media and system re-boots. I was expecting the program to continue run, I thought, m0n0wall would create the ram area and run from it so the usb will have fewer access to it.
I was wondering if method 2 is the correct way to install and run from usb.

thank you,
smith
« Reply #1 on: March 23, 2012, 21:43:25 »
Јаневски ***
Posts: 153

I don't think You should pull out the USB drive, it's not meant to work that way, however I've found out that due to m0n0's efficient nature it could run and continue to run on damaged HDDs, and due to this ability it saved me some precious network uptime in delicate and difficult situations and circumstances.
« Last Edit: March 23, 2012, 21:45:10 by Јаневски »

« Reply #2 on: March 24, 2012, 02:35:58 »
yowsers *
Posts: 49

someone who is much smarter than me may correct me, but #2 is what you should do.  I'm guessing that when you did #1 and you unplugged the usb key you had the same issue of the system rebooting?  if the answer is no, #1 did not exhibit the same thing, then I'd do #1.  however, that said, #2 is what I would have done.
« Reply #3 on: March 24, 2012, 14:28:15 »
smithrock *
Posts: 3


Is there anyway to tell if the program is running completely from the ram disk and not accessing the usb flash media constantly?
I intend to keep the USB flash drive in when program is running but I am curious if by using the method 2, i am doing it right.

when m0n0wall starts to boot, it says on the screen something like it found or established the c drive as hdd....and then screen scrolls quickly on and on.
I wonder if anywhere I should find message something like "created RAM disk of such and such size"Huh?
In my box, I only have the USB flash drive, perhaps the bios detects that the HDD is connected to the USB.

Let me ask you, does either method OK to use to install onto the USB flash drive?

thank you for your time.
« Reply #4 on: March 24, 2012, 14:48:40 »
Fred Grayson *****
Posts: 994

If you want to see the boot messages, then from the WebGUI go to the /exec.php page and run this command: dmesg

I don't run m0n0 from USB here, I use CF and do not remove the card from a running system even though it is externally accessible. But all my USB flash drives have an LED that blinks when the drive is accessed. Do yours have such an LED, and if so does it blink all the time?




--
Google is your friend and Bob's your uncle.
« Reply #5 on: March 24, 2012, 15:08:04 »
smithrock *
Posts: 3

the USB that I am using is an older kind and it does not have an LED. I will check using the one with an LED.
can you please confirm that for my setup (no HDD and no CDROM), generic-pc-1.33.img should be OK to install by physdiskwrite on an USB flash drive and should behave running the program off from the ram?

thank you very much,
smithrock
« Reply #6 on: March 24, 2012, 16:00:42 »
Fred Grayson *****
Posts: 994

The issue to be concerned with for flash drive installations is of anything is repeated writing to the drive which can lead to eventual wearing the device out.

m0n0wall does not write to drives except for the initial installation and subsequent user made changes to the configuration file.

generic-pc-1.33.img is fine for your situation.

--
Google is your friend and Bob's your uncle.
« Reply #7 on: March 25, 2012, 19:18:24 »
Јаневски ***
Posts: 153

Also on the /exec.php You could run the "mount" command without any arguments to see what's mounted where and how.

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines