Forum Home
Press F1
 
Thread ID: 48935 2004-09-05 08:36:00 yoper help i-gordon (962) Press F1
Post ID Timestamp Content User
269473 2004-09-05 08:36:00 I have yoper up and running on my p4 comp. Everything is OK except I can't see my windows partitions. I have found 2 scripts that are supposed to fix the problem. 1. is called
scanpartitions. 2. is called rebuildfstab, According to the forum I got them from either one is supposed to fix the problem. At the moment the are in files on the Yoper desktop. How do I get them into the system?. The instructions on the forum were way over my head, I'm hoping someone can give me some newbie instructions
i-gordon (962)
269474 2004-09-05 09:42:00 Those programs look like Knoppix tools. Can you give a link to the forum where you found them?

It might just be easier to manually edit your /etc/fstab so that the window partitions are added.
Jen C (20)
269475 2004-09-05 10:06:00 Thanks for your reply Jen.

www.yoper.com

bottom of first page
i-gordon (962)
269476 2004-09-05 11:51:00 Well I took at look at those scripts. After extracting the package I moved the two scripts scanpartitions and rebuildfstab.sh to /usr/bin and ran them. Both complained they couldn't find a /etc/filesystem which is true, because there isn't one :p. I am guessing you have to make one yourself with a list of files systems as mentioned in that Yoper thread.

Personally I think it would be much easier to do this manually yourself. Do you know what partitions your Windows are on? (Are they both FAT32?)

1. Run in a root console (su -) window fdisk -l. This will list your partitions eg hda1, hda2 for example. I will use hda1 and hda2 as examples below, but you need to put in the correct hdXX's for your window partitions.

2. As root still, make a mount point for these partitons in /mnt and call it whatever you like eg windows & data (I am assuming you have two window partitions for this example).
mkdir /mnt/windows
mkdir /mnt/data

3. Use the Super User Mode file manager found under KMenu > Systemn> More Applications > File Manager - Super User. Enter root's password.

4. Go to /etc/fstab and open it up (it will open in KWrite). Add to the bottom of it:
/dev/hda1 /mnt/windows vfat auto,umask=000,user 0 0
/dev/hda2 /mnt/data vfat auto,umask=000,user 0 0

(Note the blank spaces and comma's). Save and exit.

5. On your desktop, make two icons for your Windows partitions:
Right click on the desktop and select Create New > File > Link to location. Under File Name enter in "Windows" and under Enter link to location (URL) enter in /mnt/windows. Click OK. Now test this out by clicking on the new Icon and seeing if your Windows partition opens up. You can make a second icon for the data partition.

Post back if you need more help. :)


PS* Are you a Aucklander? The developer of Yoper, Andreas Girardet, will be presenting at tomorrow nights LUG meeting which you are welcome to attend :)
Auckland LUG Meeting - Monday 6 September 2004 (www.linux.net.nz)
Jen C (20)
269477 2004-09-06 00:56:00 Jen
Thanks for taking the time to help.
The instructions are fine I can follow these OK.
However my system is NTFS. WindowsXP is on A hard drive with 3 partitions. C:Windows. D:Files E: Music.
Yoper is on a seperate B drive Yoper, Swap, Home Ext3.
I tried your instructions subbing vfat for ntfs but it didn't work. I got a lot of error messages. Unable to find drive, Bad this, that, and the other. I should have written them down. After this I rebooted into windows so I could start Partition Magic and get more info on the drives. Then I got a lot more error messages from Partition Magic regarding the partition table. Anyway Partition Magic fixed the errors automaticly so I am now back where I started. Probably need a modified script.
Don't give up on me I want Yoper to work. This is the first Distro I have got working on this comp. P4 Asus mobo
I have tried Mandrake 9.1 & 10.0. & Ark. both had sound and network problems.
Xandros won't install at all, but it is working on my sons Athlon comp dual boot with WindowsXP. No issues at all.
i-gordon (962)
269478 2004-09-06 02:29:00 You will need to make sure you have mount points in /mnt for every drive and partition you want to view from within Linux. For me, I found this easier by relating each windows drive or partition to its Linux equivalent description. Eg, drive C: = hda1, drive D: (partition of C: ) = hda5 (yours may differ). I made an empty directory in /mnt for each drive/partition then edited /etc/fstab as follows:

# Begin /etc/fstab

# filesystem mount-point fs-type options dump fsck-order

/dev/fd0 /floppy auto rw,exec,noauto,users 0 0
#/dev/cdrom /mnt/cdrom/ auto ro,noauto,users,exec 0 0
/dev/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom,--,ro,iocharset=iso8859-1 0 0
none /dev/pts devpts gid=4,mode=620 0 0
none /proc proc defaults 0 0
/dev/hdd9 / reiser4 defaults 1 1 <--- Yoper
/dev/hdd10 swap swap defaults 0 0 <--- Swap
/dev/scd0 /mnt/cdwriter supermount fs=iso9660,dev=/dev/scd0,--,ro,iocharset=iso8859-1 0 0
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000 0 0 <--- C:
/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000 0 0 <--- D:
/dev/hdd1 /mnt/hdd1 vfat noauto,users,exec,umask=000 0 0 <--- F:
/dev/hdb2 /mnt/hdb2 ext3 noauto,users,exec 0 0 <--- Boot
/dev/hdd1 /mnt/hdd1 vfat noauto,users,exec,umask=000 0 0 <--- G:
/dev/hdd5 /mnt/hdd5 vfat noauto,users,exec,umask=000 0 0 <--- H:
/dev/hdd6 /mnt/hdd6 ext3 noauto,users,exec 0 0 <--- Mepis Linux
/dev/hdd7 /mnt/hdd7 vfat noauto,users,exec,umask=000 0 0 <--- J:
/dev/hdd8 /mnt/hdd8 ext3 noauto,users,exec 0 0 <--- Mepis /home
/dev/hdb1 /mnt/hdb1 vfat noauto,users,exec,umask=000 0 0 <--- E:

All except the Yoper and swap needed to be added to the fstab file.

You could substitute for eg, /mnt/hda1 for /mnt/win_C and for you situation you need ntfs where I have vfat and of course don't put the <--- X's in.

Cheers Murray P
Murray P (44)
269479 2004-09-06 04:45:00 NTFS is probably not available by default. "ntfs yoper" to Google shoudl tell you. There is a driver available for that filesystem , and should work OK. But I would be inclined to stick to "RO" access. Microsoft don't tell people the full details of their file systems. It is still dangerous to write to non-documented file sytems. (vfat and its predecessor MS file systtems have been around long enough to be pretty safe) . Reading should do no damage.

It's a bad idea to mess with partition table entries with anything other than the partition utilitry belonging to the OS which uses the entry.
Especially when the problem is that you can't access a filesystem if you haven't got support for that FS. Software which "corrects" partition table entries (especially "automatically") scares me. :_|
Graham L (2)
269480 2004-09-06 06:39:00 Another problem has come up. Somehow I have wrecked Lilo and I cannow longer boot to Yoper, I can boot to windows because I ran FIXMBR on the XP recovery program is there anyway I can reinstall Lilo without reinstalling Yoper. i-gordon (962)
269481 2004-09-06 06:46:00 Captive NTFS is what you'll be after :-) Chilling_Silence (9)
269482 2004-09-06 06:51:00 > Captive NTFS is what you'll be after :-)


More info please
i-gordon (962)
1 2 3