USB device non-detection at boot.[SOLVED]

Using applications, configuring, problems
Post Reply
Message
Author
midmen
Posts: 4
Joined: Wed 20 Jun 2012, 18:25

USB device non-detection at boot.[Solved]

#16 Post by midmen »

Thank you greengreek and Musher0. Nice code.
I tried using this code running from a flash drive.
A problem occurs: On initial boot up the USB flash drive containing the operating system and save file is on sdc2. When this codes runs, the flash drive containing the operating system and save file is then relabeled as sdd2. The save on shutdown fails because the save file is now on sdd2 instead of sdc2.

Is is possible to have a code that mounts only the USB flash drives (no hard drives or CD drives) that are already plugged in on startup excluding the USB flash drive that contains the operating system and the save file?

I have one USB flash drive with Puppy 528 on it and another USB flash drive for downloads. I would like only the downloads USB flash drive to mount automatically at boot up. Any ideas?

Thanks

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#17 Post by rcrsn51 »

Instead of unloading/reloading the USB kernel module, try this:

Code: Select all

udevadm trigger --subsystem-match="usb*"

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

crypta*.2fs not loading from usb Slacko5.3.3-4g

#18 Post by boof »

usb is ext2 and boot flag set
usb is 1st choice in boot sequence
usb is for storage only.
crypta*.2fs exists.


does not get acknowledged after "searching for puppy files"

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

#19 Post by boof »

Same happens when usb is bootable system. USB has 3 partitions, system on sda1,--boot flag set
crypta*.2sf on sda2
laptop has latest BIOS.
No hard drive installed.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#20 Post by greengeek »

Just want to add some other links that may help around the edges with mounting and booting issues etc....

http://www.murga-linux.com/puppy/viewtopic.php?t=89929
http://murga-linux.com/puppy/viewtopic. ... ost#743723
http://www.murga-linux.com/puppy/viewtopic.php?t=88390

Post Reply