Linux swap space in FreeBSD
I know that I could use a swap partition within a freebsd slice in linux,but is the reverse possible too?
I am a total n00b in FreeBSD,and I hope that I have not asked something stupid. Some other things that I have to ask is I could not mount bsd partition in linux(Fedora C -1 (2.4.22) and Mandrake9.2(2.6.1)) I tried mount -t ufs -o ufstype=44bsd <device> <directory> There is only one partition in the slice,there is no swap. ( I know about bsd labels,and have compiled them in kernel,I checked dmesg too) Next I have trouble mounting ext3 in BSD The linux partitions are logical,and I could not find a device in /dev that would make me possible to mount ext3 partitions. I tried to create nodes with mknod ,but it failed I tried mount_ext2fs /dev/ad0s2 /mnt (where ad0s2 is the extended partion but it failed) there is no such nodes as ad0s2a ,ad0s2b etc My system (p represents partitions for devfsd) p1=ntfs p2</dev/hda5=ntfs,/dev/hda6=reiserfs,/dev/hda7=swap,/dev/hda8=ext3> p3</dev/hda3=ufs> Lastly can I mount reiserfs in FreeBSD FreeBSD version 5.2 Robin |
"I could not mount bsd partition in linux(Fedora C -1 (2.4.22) and Mandrake9.2(2.6.1))
I tried mount -t ufs -o ufstype=44bsd <device> <directory>" Do you have ufs support compiled in the kernel? "I know that I could use a swap partition within a freebsd slice in linux,but is the reverse possible too?" I think so. I dual booted BSD for a while about a year ago and I think that I remember using the Linux swap partition in BSD. "Next I have trouble mounting ext3 in BSD" I think that you can mount an ext3 partition as ext2. If you do so then make it read only because writing to ext3 while it is mounted as ext2 could mess up the journal. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Of course I have ufs support in kernel
I checked it using lsmod too You said that you remembered using linux swap in FreeBSD,the problem I am facing is that there is no device for that partition. Finallly ,another question. I edited /etc/passwd ,/etc/master.passwd to enable root to log into zsh shell,but it still boots to csh.Tell me what I missed. |
I just started using FreeBSD yesterday... Ran into alot of the same problems... First off....
Linux does NOT support the new UFS2 file system yet.... If you want to be able to mount it, you'll have to reinstall from scratch, unless you can figure out a way to convert the file system back to the oldfs... Make your slice/s in the first fdisk screen. Quit out of that. Then when you get to the "Disk Label" screen where you make the partitions out of the slice?, Create it, then get on the highlighted slice and press Z. Change the switch to -01... I still can't mount the damn thing tho. I can... I just can't see any files. Atleast I don't get that Bad Magic crap in dmesg. mtab reports a clean mount, and I get no errors when I do mount it, I just can't see squat. Maybe you'll have better luck....Once you switch to UFS1, you only have to mount /dev/hda3 /mnt/FreeBSD cause your kernel sees that it's the old fs... The reason why you can't mount Linux in FreeBSD is because it's not possible in your case. Primary Partitions only. If that aint a serious flaw, I don't know what is.... Can't even install it unless it's on a Primary (I tried over and over again). Can't read or see anything unless they are on a primary... I had to wipe my entire extended partition (3 linux &1 20gb vfat) so I could recreate my shared on a primary..... Phftttt.... For some reason, I don't quite believe that you can't mount a logical volume. Please let me know if I'm wrong but I read it in the handbook somewhere and posed this question on the bsd forums and no one disputed me so...... It must be true I guess.... Ya' know, I haven't even tried now that I think about it... :scratch: The swap question is a good one.... I know about the linux using bsd as well..... Also, Your trying to mount an entire extended partition with that command.... Your trying to classify an entire extended partition as one slice... /dev/hda8 would be ad0s8.... Ya' know? According to your layout, you wouldn't even have an hda2 listed in cfdisk.... Your layout confuses me.... :confused: You must have an extended partition sandwiched in between 2 primaries...... Oh well.... :rolleyes: Reply back because I think I just confused the hell out of myself..... :D Also, for the shell question... chsh -s /path/to/shell cd ~/Desktop ln -s /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html Handbook :study: |
I am sorry for replying late.I had enabled the email notification option,but it never came telling me about your reply.
Quote:
Quote:
Quote:
1)must be primary partition2)Must be the last primary partition So the odd layout. Correct me if I am wrong. Quote:
$chsh -snf /bin/zsh (?!) Anyway thanks for the info. |
The reason you cant mount a linux partition is BECAUSE THE GPL IS NOT BSDL compatible! If you install support for ext2 etc... You infect your kernel and GPL the whole damn thing which is not something the *BSD take kindly to.
|
All times are GMT -5. The time now is 08:45 AM. |