SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A couple days ago I resized my windows partition from 20gb to 15gb using yast and now it does not show up in the "My Computer" folder on the desktop or in the main "/" directory. It is a 15GB Windows 2000 NTFS partition. How can I mount this partition?
I also encountered some other problems.
After resizing my ntfs partition I tried to make a 4.8gb partition with the left over space I created and mount it but it didn't work. I tried it a few times with different mount points such as "/jonathan". Now when I start up the computer this folder appears in the main "/" directory. How can I prevent this from happening.
My third problem is that I cannot make that 4.8gb partition with the unused harddrive space. I am trying to make a partition around 5gb because I am going to try and make a linux distro with "Linux From Scratch".
Could someone please help me solve my three problems.
First.. we need the contents of your /etc/fstab file. Its clear that after the partition resize the blocks are not numbered the same.
So...
run the following command at the console
Code:
dmesg | grep hda
(assuming your hard disk is the primary disk other wise use hdb)
fstab should contain details regarding where it is looking for the partition blocks.
Make sure they exist and have the right format i.e. you cant load a linux partition assuming its an NTFS partition. Need more details about that? check man fstab
Next try mounting the partitions one by one and check if they are all working fine. You might need to tweak fstab.. (make sure you a have a back up, if you mistake then you might not be able to boot in)
Lets see. All that should answer your first question and the second one too...
For the third question am not sure I understood it in the first place.
here is what I got from the dmesg | grep hda command:
Kernel command line: root=/dev/hdc3 vga=0x317 desktop resume=/dev/hdc2 splash=si lent
ide1: BM-DMA at 0xc808-0xc80f, BIOS settings: hdcMA, hddio
hdc: Maxtor 4W060H4, ATA DISK drive
hdc: max request size: 128KiB
hdc: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdc: cache flushes not supported
hdc: hdc1 hdc2 hdc3
Resume Machine: resuming from /dev/hdc2
Resuming from device hdc2
ReiserFS: hdc3: found reiserfs format "3.6" with standard journal
ReiserFS: hdc3: using ordered data mode
ReiserFS: hdc3: journal params: device hdc3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc3: checking transaction log (hdc3)
reiserfs: disabling flush barriers on hdc3
ReiserFS: hdc3: Using r5 hash to sort names
Adding 1032184k swap on /dev/hdc2. Priority:42 extents:1
Kernel command line: root=/dev/hdc3 vga=0x317 desktop resume=/dev/hdc2 splash=si lent
ide1: BM-DMA at 0xc808-0xc80f, BIOS settings: hdc:DMA, hdd:pio
hdc: Maxtor 4W060H4, ATA DISK drive
hdc: max request size: 128KiB
hdc: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdc: cache flushes not supported
hdc: hdc1 hdc2 hdc3
Resume Machine: resuming from /dev/hdc2
Resuming from device hdc2
ReiserFS: hdc3: found reiserfs format "3.6" with standard journal
ReiserFS: hdc3: using ordered data mode
ReiserFS: hdc3: journal params: device hdc3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc3: checking transaction log (hdc3)
reiserfs: disabling flush barriers on hdc3
ReiserFS: hdc3: Using r5 hash to sort names
Adding 1032184k swap on /dev/hdc2. Priority:42 extents:1
When I try and mount the windows partition (which is /dev/hdc1) it says this:
mount /dev/hdc1
mount: can't find /dev/hdc1 in /etc/fstab or /etc/mtab
The /mnt/windows should be created if its not present already. Basically you can use any folder where you would like to see your windows folders.
now issue the command
mount /dev/hdc1
everything should be fine.
What I understand from your fstab and dmesg output-
-you have three partitions.. hdc1 is windows ntfs, hdc2 is linux swap and hdc3 is linux partition
-your swap partition (hdc2) is around 1000MB
which leaves me wondering... WHERE is that 4.8 GB of unused space you were talking about?
I resized the hdc1 partition from 20GB to 15GB. What would be the best way to create a linux partition with that space?
I entered that code into my fstab file but I changed the mount location from /mnt/windows to /windows/C because that is what it was origionally. When I try to mount the partition it says:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
or too many mounted file systems
Last edited by joney_bravo; 12-22-2004 at 03:06 PM.
I dont know whats wrong with the fstab entry... make sure the words are separated by tabs and not by spaces (but I guess you've done that already).
Try the program qtparted. I used it to format my new drive. It gives a very nice view of where the disk space has been allocated.
Try skipping mounting devices with fstab for a second. Just to make sure you're doing it correctly, as it's a little hard to follow. Do
mount /dev/hdc1 /directory_name
Obviously make sure your directory exists. If this doesn't work, check back with Yast --> Partioner and list us all your partitions there.
If your still having problems with it, and you DO NOT want the data on /dev/hdc1 for whatever reason you can simply remake the Reiser filesystem on it. This sounds like at least what you want to do with your extra space. Yast --> Partitioner should show you where that extra space is, perhaps /dev/hdc4.
mkreiserfs /dev/hdc# where # is whatever partition number you want to create a new filesystem. This WILL delete any data you have stored on that partition, blank or not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.