Jump to content

Muckshifter & Suse (Linux) ... part II


muckshifter

Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 157
  • Created
  • Last Reply

Top Posters In This Topic

  • muckshifter

    75

  • Bruno

    67

  • teacher

    5

  • ross549

    5

Top Posters In This Topic

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 ;)

Link to comment
Share on other sites

Anyway doing it in the GUI is far easier
Nope! 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 # ;)
Link to comment
Share on other sites

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 # ;)

Link to comment
Share on other sites

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 # ;)

Link to comment
Share on other sites

YES ... it be un-mountedNow I'll have a go at killing Suse again. :D ;) I'm going to play with YaST ... if you say yes, or wait for further distructions. ;)

Link to comment
Share on other sites

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 # B) YaST is a pain in the bloody ass. :angry:

Link to comment
Share on other sites

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 B) ):angry: Bruno

Link to comment
Share on other sites

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..... B) 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.... :angry:

Link to comment
Share on other sites

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. :icon8: 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. :D 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. B) You know, in 3 years of Win XP, I only ever had to do ONE reinstall. B) 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. :P Catch you all tomorrow ... that is if you want to put up with this shriveling wreck. B)

Link to comment
Share on other sites

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 B) . . you'll be fine. :P Bruno

Link to comment
Share on other sites

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 B) . . you'll be fine. :D Bruno
I'll look forward to it. :P
Link to comment
Share on other sites

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 --

Link to comment
Share on other sites

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. B) As a side note here, I can, after the last crash, access the bloody thing :D 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. B) I have kept busy checking every little 'anomaly' like US English and changing it to 'proper' English (UK) :D 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. B) Catch you all later when 'class' begins. ;)

Link to comment
Share on other sites

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.B) Bruno

Link to comment
Share on other sites

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 #

Link to comment
Share on other sites

;) 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):
Link to comment
Share on other sites

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):

Link to comment
Share on other sites

oops. B) 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):

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...