Server :: Control Which Drive Letter USB Thumb Drive Gets Assigned During Install Process?

Mar 30, 2010

The software: Ubuntu Server Edition 9.10.The wetware: A programmer doing his best (read: ignorant, shitty) as an ad-h.When I plug the USB thumb drive in, the install OS gives it a drive letter -- /dev/sdb -- and it pushes the original /dev/sdb down to /dev/sdc. The installation works without a hitch, and GRUB2 installs, dutifully pointing the root at /dev/sdc1 instead of /dev/sdb1.I let GRUB2 start normally ("drive not found"), holding the <shift> key to get to the "rescue>" prompt.From there, I issue "ls" to discover that GRUB can NOT see /dev/sdb, and I can tell that because what is showing up as (hd1) does NOT have three partitions as it should.GRUB2 sees a total of 16 drives, not 26, and one of the drives it sees is "fd0" (there is no floppy drive).Issuing commands like "set prefix=(hdx,y)" and "root=(hdx,y)" have no effect as, I think it's just pointing to the (reiserfs)content drives and this GRUB2 tells me "unknown filesystem".I did try them all in vain, hoping that maybe I'd find a kernel somewhere.I used the "rescue" mode of the Ubuntu installer (the USB thumb drive) to get to a root prompt.From there, I mounted /dev/sdc2 (the "shifted" /dev/sdb2) onto /mnt, I mounted /dev/sdc1 (the "shifted" /dev/sdb1) onto /mnt/boot,and then I chroot'ed to /mnt.I edited /boot/grub/grub.cfg, editing every instance of "root=(hd2,1)" to the appropriate UUID for the "real" /dev/sdb1. Then I issued update-grub2.It refused to work giving me an banal "no such partition" error or something like that.

We originally had this server functioning by putting / and /boot on the SS SanDisk, which caused no problems during installation because /dev/sda doesn't get shifted.We then figured it was a good idea to put our OS files on something with failover capability. And that started us down this crappy "shifting drive letter" path.Can I control which drive letter the USB thumb drive gets assigned during the install process?If I could make it be /dev/sdc then I wouldn't be facing this problem.An alternate solution would be to know the cryptic GRUB2 commands that I can issue from the command prompt post-install, pre-reboot.But I'm wondering if that will ultimately work at all considering that GRUB2 couldn't see /dev/sdb at all.

View 2 Replies


ADVERTISEMENT

General :: Get Drive Letter And Serial Number Of Thumb Drive?

Feb 4, 2010

I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.

View 3 Replies View Related

Red Hat / Fedora :: Only Root Can Automount CD Drive And USB Thumb Drive?

Mar 24, 2009

Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?

View 3 Replies View Related

Server :: Security Advantages Of Separate Partition (within A Thumb Drive)

Mar 23, 2011

I want a subset of files on a usb to be less likely to corrupt or, have any contact with/ acess to, the rest of the files on the usb.

Q: is there any advantage in putting the subset on a separate partition within the USB drive?

View 1 Replies View Related

Debian Installation :: Install Squeeze From Usb Thumb Drive?

Jun 8, 2011

my dvd drive broke and i read that usb storage is more dependable than optical installation media so i want to know how to install debian squeeze through a usb thumb drivewill unetbootin work, if notthen what will

View 11 Replies View Related

Ubuntu :: Install 10.04 To A 16 Gig Thumb Drive And The Installation Went Perfectly?

Apr 8, 2011

I tried to install ubuntu 10.04 to a 16 gig thumb drive and the installation went perfectly. However, when I removed the thumb drive and tried to boot the computer back into windows I saw that the installer had installed GRUB on to the hard drive of the computer. Windows runs fine, but it wont start with out the thumb drive that has the ubuntu install on it, this is very bad for me. Is there a way I can remove GRUB with out messing up windows on the computer? i dont have a windows 7 boot disk so this operation would need to be done either in windows (already booted) or ubuntu.

View 3 Replies View Related

OpenSUSE Install :: Error Message Trying To Run Live KDE On A USB Thumb Drive?

Sep 14, 2010

been a fan of openSUSE for years now and peridocially go back and forth between Suse and Windows. However, I'm still an enthusiastic amateur when it comes to this stuff. Well, I bought a netbook (Acer Aspire ONE) several months back and loved Win 7 (a first for me). However, like all Windows, they all go down the crapper. So I'm wanting to completely wipe out Windows and go all Suse on my netbook.So I downloaded KDE Live and "burned" it on my USB. BTW, the image writer that are in the directions only writes, .raw files not .iso. I had to use a third party software.I then went into my BIOS and put the USB drive first on the booting list, and then restarted. Right off the bat I get the error message.Could not find kernel image: gfxbootAll I want to do is install openSUSE on my netbook

View 3 Replies View Related

Ubuntu Servers :: Xp Drive Letter - Auto Mount The Server When On My Home Network

Jan 22, 2011

I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?

View 6 Replies View Related

OpenSUSE Install :: Creating Install USB Thumb Drive

Mar 30, 2010

I have a couple of USB pen drives, they are 8 and 16 gigs.I want to set one up to run as a �Live KDE� drive and put the �install DVD� in the other.Where would I find directions to do this?

View 2 Replies View Related

Ubuntu :: What Is Hard Drive Letter

Dec 4, 2010

I can not find my hard drive letters in ubuntu. In the "computer" window it just shows it as "file system". I want to run chkdsk on another hdd that I connected to the computer. It shows up as 2 icons, one called "256 GB Solid-State Disc:256GB Filesystem and the other called "256 GB Solid-State Disc:System Reserved. This disc was installed in another computer as the only hdd and I had problems with the computer so I removed it and installed disc drive. I want to check this ssd here in ubuntu to see if there are any bad sectors etc. All the instructions I can find say to Type "Run chkdsk /[drive letter]" (without quotes) in the terminal win. I entered "sudo lshw" and the drive shows as "*-disc:1" I tried using 1, disc-1 and *-disc:1 as drive letters , example, "Run chkdsk/1" (without quotes), and I get command not found for all 3. There must be a drive letter to these discs as in windows I would guess, it appears that way as I search the net. NOTES, this computer has ubuntu 10.04 installed only and has 3gb native sata mobo, no microsoft at all. I want to check the quality of this ssd as much as possible and can overwrite or delete any and all files on it, reformat it etc. If it checks out good, I may remove the existing hdd on the computer and install this one as the only hdd and install ubuntu and use it a while to make sure it works fine, then remove it and install it to the original computer where i wanted it in the first place. That computer has win7 ultimate on it, but what matters is that one has the 6gig native sata mobo and that is where this ssd will work at its fastest

View 9 Replies View Related

Ubuntu :: USB Thumb Drive Not Recognized In 10.04

Aug 1, 2010

i tried to connect my samsung usb mp3 player and it is not showing up in mycomp. i tried to debug the issue but being a noob i didnt get anywer.

View 2 Replies View Related

Ubuntu :: Using A Thumb Drive For Extra Ram?

May 1, 2011

So i saw a thread somewhere about using a thumb drive to make extra ram for your pc. This was of course on a windows pc. I was wondering if this works on Ubuntu also and if it is really worth it?

Also if you have 4 USB ports could you put in 4 usb thumb drives and have a fantastic amount of ram?

View 7 Replies View Related

General :: Booting From USB Thumb Drive?

Jun 25, 2011

I have a new Giada cube with no hard drive, so my plan is to simply run a Linux/MythTV distro called MythDora from a Patriot 8GB USB stick (this Giada does not PXE boot). I am having trouble figuring out exactly how to make this work. Yesterday, although I have forgotten exactly how, I was able to put a MythDora Live image on the stick and boot up. I went through the initial setup, and then, when I was all done, I rebooted, and..it started all over again...as if I was doing it for the first time. So...What do I need to do to create a proper bootable USB stick?What ISO image should I use? The full DVD? Or the Live ISO? or the Network image?Do I need to partition the stick and load the O/S from one small partition, transferring the installation to another larger one?What utility should I use to create the bootable stick? unetbootin? or similar?Do I have to do anything special to make my O/S and configuration changes persistent on the USB stick?

View 3 Replies View Related

General :: Copying Dir To A Usb Thumb Drive?

May 9, 2011

I want to copy my /home to a USB thumb drive recursively. I've wrestled with this for a few hours now and continue to spin my wheels.The device is listed in my Disk Utility as /dev/sdc. However a little further down it is listed as /dev/sdc1 ? Anyway, I relabeled the volume as usb stick and formatted it to Ext4. I mounted it at /media/usb stick Do I have to enter this drive into the fstab? If so, how? what do I write? Using the command : cp -R (what follows... I want to copy /home recursively to the usb thumb drive.)

View 8 Replies View Related

Software :: Boot And Run App From Thumb Drive?

Dec 10, 2009

I need to have a web app that is feeding ip camera feeds across internet to a server. Need to have thumb drive preconfigured with cameras prior to shipping. End user plugs in cameras, puts thumb drive in any running PC, have WEB app start with some menu options to like name the feeds. Back at server receiving feeds are broadcasted via secure web site.I have never worked with Linux but have read some incredable things already.

View 1 Replies View Related

Slackware :: Installing From Thumb Drive?

Jun 3, 2010

How exactly do i do it, I can't find any clear step's on it?I got no CD-R's left and can't get to the shops.

View 4 Replies View Related

CentOS 5 :: USB Thumb Drive Thinks It's A CD-ROM?

Mar 13, 2009

When I insert a USB thumb drive into a USB socket a "CD-ROM Disc" icon appears on the desktop. When I double-click on the icon I get a "CD/DVD Creator" window. Messages in "/var/log/messages" shows Vendor (Sandisk) and Model (Cruzer) for the USB thumb drive. Those are correct. But for Type it says CD-ROM. What's up with that?

View 6 Replies View Related

Debian :: Gnome Live On USB Thumb Drive

Sep 8, 2010

I just install Gnome live 5.0.6 on a USB thumb drive and would like to know how to save my setting?

View 5 Replies View Related

Fedora :: Recovering Data From A Thumb Drive

Dec 3, 2009

The following quote is the sad, sad story of a thumb drive with the partition table nuked, as told by a friend of mine:

Quote:

Data was recovered from an XP system by booting with a BartPC CD and copying onto a USB thumb drive. Nothing unusual.

System was rebooted into the XP install CD.

The first drive that was found was the 16gb thumb drive (AKA flash drive) and the person (re) installing XP didn't catch the fact that XP presented the 16gb thumb drive instead of the 160gb hard drive.

The drive partition function in XP deleted the partition table - on the thumb drive.

A freeware utility in Windows shows the data but can't recover the file names, so that everything is gobbledygook. Does anybody know of a utility or program under Linux that can help? I have a laptop running F 12 and can do the work if needed, but don't know what program to use.

View 2 Replies View Related

General :: OpenVMS Packaged On A Thumb Drive?

Nov 28, 2010

I am looking for OpenVMS distribution on a thumb drive for a PC. I image it would be a Linux system that automagicly starts a VAX simulator then boots OpenVMS on that. Either it would run live off of the thumb drive or it would install to the system's hard drive.

View 1 Replies View Related

Ubuntu Installation :: 9.10 Thumb Drive With Persistent Changes?

Mar 27, 2010

I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.

View 9 Replies View Related

Ubuntu :: Thumb Drive Insert Cannot Read

Apr 6, 2010

i inserted a thumbdrive on one of the usb slots on my laptop upon inserting it shows:[sdb] Assuming drive cache: Write through[977.113519] sd 5:0:0:0: [sdb] Assuming cache: Write through

how to read the contents of my thumbdrive?Do i need to mount it first or what should be the procedure?

View 1 Replies View Related

Ubuntu :: Low Level Format For Thumb Drive?

Dec 4, 2010

I have a thumb drive that I cannot get a clean format done to use it as a boot device.Is there some way to do a lower level format (I am using Gparted) to get rid of this error?

View 6 Replies View Related

Ubuntu Installation :: Emergency USB Thumb Drive ?

Jan 25, 2011

I want a USB drive for emergency situations. It will have sensitive information, family photos, etc. stored on it. I want it to have one encrypted portion (TrueCrypt) for the sensitive materials. I want the files to be able to be viewed on a Windows machine first and foremost. If no Windows machine is available I would like to have a bootable version of Ubuntu on the USB drive so I can boot it and also view the files.

View 2 Replies View Related

Ubuntu :: Move 1.2GB Of Photos Onto A 2GB Thumb Drive?

May 3, 2011

I want to move 1.2GB of photos onto a 2GB thumb drive, calling up Properties, it says the size on disk is 9.7GB. What is going on? I don't recall discrepencies this huge in previous OS's. What is taking up 7 times more space than my actual files?

View 3 Replies View Related

SUSE :: Why Thumb Drive Can't Detect In Sles11

Jan 28, 2011

I 'm using vmware server to virtualized suse linux enterprise server11 as the guest operating system under my main OS of window 7 professional version, but when i plug on the pen drive, SLES11 (guest OS) that hosted under vmware with window 7 prefessional as main OS can't detect of my pendrive but i can do this before at window XP version...

View 1 Replies View Related

Hardware :: Usb Thumb Drive Unmount And Remount By Itself?

May 17, 2011

I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?

View 13 Replies View Related

General :: Unable To Mount USB Thumb Drive

Oct 10, 2009

I am very new to Linux ubuntu got it because friend said it way better than windows. The problem I am having is with my thumb drives. I cannot get them to work. It says I am unable to mount. The only way to get one to work is put one in wait tell it says it is unable to mount then put the second one in. At that point I am able to look at the second drive.

View 2 Replies View Related

CentOS 5 :: Auto Mounting An USB Thumb Drive?

Nov 26, 2009

I would like a USB thumb drive to be automatically mounted whenever I insert the drive into my PC (previously I had been mounting it manually with the 'mount' command). I gave the USB drive a unique label with e2label. I added an entry for it in /etc/fstab. This works in the sense that if I run "mount -a", the drive will be mounted. However, it still isn't completely automatic. Am I missing something? What else do I need to do?

View 8 Replies View Related

General :: Looking To Mount Root Dir To Windows Drive Letter

Apr 18, 2011

I have a RH5 box and develop on Windows. I'm looking to mount the root dir of the RH machine just for ease of integration and automatic deployment to the linux box. I'm using WinSCP at the moment but that (from what I can find) only opens a window, which isnt accessible from eclipse.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved