muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 Hi All,Last night, as you read above, I attempted to format partition sdb1 ... however, the drive was 'mounted' and all **** broke loose.All I want to do now is umount it ... I still cannot do anything with it. and no, I have not tried Bruno's code yet. Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Hi MucksIf you only want to umount that partition the code is: ( indeed umount and not unmount ) > su<password># umount /media/BackUp That is all there is to it :DB) BrunoPS: Sorry I should have fed you little chunks this morning and not post such a long howto . . . . . Anyway doing it in the GUI is far easier Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 Anyway doing it in the GUI is far easierNope! not for me ... I've been here all day trying to 'umount' the bloody thing using everthing but a 10lb sledge hammer.I am very frustrated tody. :(mucks@linux:~> suPassword:linux:/home/mucks # umount /media/BackUpumount: /media/BackUp: not foundlinux:/home/mucks # Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Okay . . . . please give the command: # cat /etc/fstab And post me what you see . . Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 linux:/home/mucks # cat /etc/fstab/dev/hda2 / reiserfs acl,user_xattr 1 1/dev/hda1 swap swap pri=42 0 0devpts /dev/pts devpts mode=0620,gid=5 0 0proc /proc proc defaults 0 0usbfs /proc/bus/usb usbfs noauto 0 0sysfs /sys sysfs noauto 0 0/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0/dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0/dev/hdb /media/floppy1 subfs noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0/dev/sda1 /data1 auto noauto,user 0 0linux:/home/mucks # Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Looks like your USB drive moved to /dev/sda1 mounted on /data1 . . . . Please show me the output of # mount Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 linux:/home/mucks # mount/dev/hda2 on / type reiserfs (rw,acl,user_xattr)proc on /proc type proc (rw)sysfs on /sys type sysfs (rw)tmpfs on /dev/shm type tmpfs (rw)devpts on /dev/pts type devpts (rw,mode=0620,gid=5)usbfs on /proc/bus/usb type usbfs (rw)/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)/dev/hdb on /media/floppy_1 type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)/dev/sdb1 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=ext3)linux:/home/mucks # Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Now it says: /dev/sdb1 on /media/usbdisk :'(Okay . . now try # umount /media/usbdisk Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 YES ... it be un-mountedNow I'll have a go at killing Suse again. I'm going to play with YaST ... if you say yes, or wait for further distructions. Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Okay . . . show me # fdisk -l ( With the letter -L but then small ) Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 linux:/home/mucks # fdisk -lDisk /dev/hda: 122.9 GB, 122942324736 bytes255 heads, 63 sectors/track, 14946 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 131 1052226 82 Linux swap / Solaris/dev/hda2 * 132 14946 119001487+ 83 LinuxDisk /dev/sdb: 82.3 GB, 82348277760 bytes255 heads, 63 sectors/track, 10011 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id Systemlinux:/home/mucks # linux:/home/mucks # mount/dev/hda2 on / type reiserfs (rw,acl,user_xattr)proc on /proc type proc (rw)sysfs on /sys type sysfs (rw)tmpfs on /dev/shm type tmpfs (rw)devpts on /dev/pts type devpts (rw,mode=0620,gid=5)usbfs on /proc/bus/usb type usbfs (rw)/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)/dev/hdb on /media/floppy_1 type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)linux:/home/mucks # YaST is a pain in the bloody ass. Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Well in YAST the USB drive should show as /dev/sdb . . . so be sure to format the correct drive :PHave fun in YAST . . . . ( and if you decide that you prefer the commandline instead . . . just shout and I will help you ) Bruno Quote Link to comment Share on other sites More sharing options...
ross549 Posted October 3, 2005 Share Posted October 3, 2005 Muckshifter......To be completely honest.... it is infact much easier for us to provide the help you need via command line. You see, all distributions are based off the linux kernel, which is a standard interface for all system commands and calls. This makes it easy for us... as we all use the command line. The commands are all the same, regardless of the distribution being used.YaST is native to SuSE, so no other distribution uses it that i am aware of. This is most likely why Bruno is not able to provide specific step-by-step instructions on how to work YaST. I could not do so either, even though I know exactly how to do what you want to do on the command line.I am rambling here..... Simply remember that linux is completely different than Windows, so we should not expect it to run like windows. If it did, then what would be the point of switching? ;)Just wait until you discover other window managers.... Quote Link to comment Share on other sites More sharing options...
teacher Posted October 3, 2005 Share Posted October 3, 2005 Just let us know what you need to find in Suse and I will boot over into it or I am sure Jason will come to the rescue. Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 Hello Folks,Guess who had to do a clean install ... :'(Twice I've used YaST to try and get this USB drive working and ... yep, twice IT, not me, IT hosed my Suse. I was lucky last time as Suse was able to do a repair ... not this one, lost two weeks hard work, even though that was nothing. Ross Bruno ... DON'T USE YAST to play around with drives.I aint doing nuffin tonight, I have smoked 50 fags, drunk 'arf a bottle of Scotch and worn a channel in the carpet pacing up & down. You know, in 3 years of Win XP, I only ever had to do ONE reinstall. Look on the bright side ... my monitor IS actually set correctly, don't know where all my fonts are but hey, I'm still using Linux. Catch you all tomorrow ... that is if you want to put up with this shriveling wreck. Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 3, 2005 Share Posted October 3, 2005 Sorry to hear that Mucks !And yes I will NEVER use Yast to partition . . . . don't worry ! :DHave a good rest and I will help you to do the USB drive on the commandline tomorrow . . . step by step . . easy small steps . . you'll be fine. Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 3, 2005 Author Share Posted October 3, 2005 Sorry to hear that Mucks !And yes I will NEVER use Yast to partition . . . . don't worry ! :DHave a good rest and I will help you to do the USB drive on the commandline tomorrow . . . step by step . . easy small steps . . you'll be fine. BrunoI'll look forward to it. Quote Link to comment Share on other sites More sharing options...
burninbush Posted October 4, 2005 Share Posted October 4, 2005 Ross Bruno ... DON'T USE YAST to play around with drives.+++++++++++++Mucks, by now you should be ready for cfdisk. Open a command window, become root, type #cfdisk /dev/hda [or whatever your hd is named, maybe /dev/sda or such for that usb disk] That will give you a sort of text-graphics screen. You can arrow up/down to highlight things, and arrow sideways to highlight the set of commands at the bottom of the screen. It's nearly self explanatory; if deleting, start from the bottom and work up. If you delete a partition in the middle, and don't create a new one to fill the hole exactly, you could lose those below. When you are done changing stuff, you have to 'Write' it to make anything actually get changed, so you can play with it as you like, and Quit without writing -- and there will be no effect. This allows you to practice at will just to get the feel of it. Always a good idea to reboot the puter after changing any partitions. Enjoy -- Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 4, 2005 Share Posted October 4, 2005 Hi MucksI will be back online after work at the usual time ( 19:00 Amsterdam time ) Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 4, 2005 Author Share Posted October 4, 2005 Hello burninbush,If you don't mind I'll wait for Bruno, no offense, he needs his head reading taking me on, but I appreciate his help.I need to 'learn' one thing at a time using one 'program' ... then, as I get a bit more confident I'll try something else. As a side note here, I can, after the last crash, access the bloody thing it has a few folders and files that look as though they were from the original install ... I played safe when I did the new re-installed and did NOT have that USB drive connected ... so they should not be anything to do with this install. I hope. I have kept busy checking every little 'anomaly' like US English and changing it to 'proper' English (UK) Pleased to see my monitor is better detected ... fixed a "font" problem with my home forum by using suggested replacement fonts with the help of Google ... got all my other little bobs-n-bit how I like them. hehe, have become an 'expert' at that, easy though, I really do like this Linux. Catch you all later when 'class' begins. Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 4, 2005 Share Posted October 4, 2005 I did the new re-installed and did NOT have that USB drive connected That was good thinking ! . . . Wonder where the files came from . . . but anyway let us move on :DOkay we will attack that USB drive and clean it out . . . can you first open a konsole and type:> su< password ># fdisk -l ( Remember ? The letter L not the number 1 )Please copy and paste what you see in your next post. Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 4, 2005 Author Share Posted October 4, 2005 Evening Bruno, mucks@linux:~> suPassword:linux:/home/mucks # fdisk -lDisk /dev/hda: 122.9 GB, 122942324736 bytes255 heads, 63 sectors/track, 14946 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 131 1052226 82 Linux swap / Solaris/dev/hda2 * 132 14946 119001487+ 83 LinuxDisk /dev/sde: 82.3 GB, 82348277760 bytes255 heads, 63 sectors/track, 10011 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sde1 1 10010 80405293+ 83 Linuxlinux:/home/mucks # Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 4, 2005 Share Posted October 4, 2005 Good . . . now fire up fdisk with: # fdisk /dev/sde And press the P on your keyboard and copy the resultsB) Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 4, 2005 Author Share Posted October 4, 2005 linux:/home/mucks # fdisk /dev/sdeThe number of cylinders for this disk is set to 10011.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Command (m for help): pDisk /dev/sde: 82.3 GB, 82348277760 bytes255 heads, 63 sectors/track, 10011 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sde1 1 10010 80405293+ 83 LinuxCommand (m for help): Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 4, 2005 Share Posted October 4, 2005 Great . . . now press d and when it asks for a number press the number 1 Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 4, 2005 Author Share Posted October 4, 2005 Command (m for help): dSelected partition 1Command (m for help): 11: unknown commandCommand action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only)Command (m for help): Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 4, 2005 Share Posted October 4, 2005 Okay there was only one partition so it assumed it was number 1 :)Let us see the partition table again: Press P Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 4, 2005 Author Share Posted October 4, 2005 oops. Command (m for help): dNo partition is defined yet!Command (m for help): pDisk /dev/sde: 82.3 GB, 82348277760 bytes255 heads, 63 sectors/track, 10011 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id SystemCommand (m for help): Quote Link to comment Share on other sites More sharing options...
Bruno Posted October 4, 2005 Share Posted October 4, 2005 Excellent . . . looking good !!Now press n Bruno Quote Link to comment Share on other sites More sharing options...
muckshifter Posted October 4, 2005 Author Share Posted October 4, 2005 Command (m for help): nCommand action e extended p primary partition (1-4) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.