Hi, I was user of NetBSD (and a bit of slackware linux) before I moved to Free one (becouse I wanted nvidia 3D acc). I have 80GB disk sliced (partitioned) into smaller pieces. Slice scheme is like that : slice1: 7GB FFS (FreeBSD :) slice2: Extended Partition which contains: slice1 in "slice2" : 60GB fat32 slice2 in "slice2" : Extended Partition (and in this "extneded" slice is another 3GB fat32 slice) slice1 inside slice2 of slice2: 3gb Fat32 This partiton scheme created Pastiton Magik 8. My question: How to mount the 60 GB fat32 part. ? I know about disklabel, and fdisk. But in FreeBSD it works somehow unpredictable. I`ve klkload-ed msdosfs module, tried disklabel on /dev/ad0s2 (which damaged my partition table), but it still something about that it cannot mount partition (yeh, mount point e.g. /mnt/c exists :-\ ). Is freebsd so different against Linux, or NetBSD? thanks, Jan Sebosik
Jan Sebosik wrote:> I`ve klkload-ed msdosfs module, tried disklabel on/dev/ad0s2> (which damaged my partition table), but it still something> about that it cannot mount partition (yeh, mount pointe.g.> /mnt/c exists :-\ ). Is freebsd so different againstLinux, or NetBSD? What is the error message? What did you type into the console? Did you use the -t option? Bj?rn
Hi When I disklabel -r /dev/ad1s2 (the first extended slice), i get : a: 135186912 62 MSDOS c: etc # don`t delete this line.... mount -t msdos /dev/ad1s2a /mnt/c --> no such file or device (yeah, I`ve now looked into /dev/, and it really doesn`t exist in.... but don`t know why it is so) mount -t msdos /dev/ad1s2 /mnt/c --> invalid argument fdisk /dev/ad1s2 : part1: start 63 size 135186912 (66008MB) type XY part2: start 135186975 size 8209215 (4000MB) <- this is 2.nd extended partition I mentioned in prev. msg It`s still unclear to me, why disklabel doesnt create a /dev/ad1s2a.... tnx Jan Sebosik Bj?rn K?nig wrote:> Jan Sebosik wrote: > > > >>I`ve klkload-ed msdosfs module, tried disklabel on >> >> >/dev/ad0s2 > > >>(which damaged my partition table), but it still something >> >> > > > >>about that it cannot mount partition (yeh, mount point >> >> >e.g. > > >>/mnt/c exists :-\ ). Is freebsd so different against >> >> >Linux, or NetBSD? > >What is the error message? What did you type into the >console? Did you use the -t option? > >Bj?rn > >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > >
On 2/27/2005 at 12:41 AM Jan Sebosik wrote:>Hi, > >I was user of NetBSD (and a bit of slackware linux) before I moved to >Free one (becouse I wanted nvidia 3D acc). >I have 80GB disk sliced (partitioned) into smaller pieces. Slice scheme >is like that : > >slice1: 7GB FFS (FreeBSD :) >slice2: Extended Partition which contains: > slice1 in "slice2" : 60GB fat32 > slice2 in "slice2" : Extended Partition (and in this >"extneded" slice is another 3GB fat32 slice) > slice1 inside slice2 of slice2: 3gb Fat32 > >This partiton scheme created Pastiton Magik 8. > >My question: How to mount the 60 GB fat32 part. ? >I know about disklabel, and fdisk. But in FreeBSD it works somehow >unpredictable. > >I`ve klkload-ed msdosfs module, tried disklabel on /dev/ad0s2 (which >damaged my partition table), but it still something about that it cannot >mount partition (yeh, mount point e.g. /mnt/c exists :-\ ). Is freebsd >so different against Linux, or NetBSD? > >thanks, >Jan Sebosik >_______________________________________________Try "mount_msdosfs /dev/ad0s5 /[mount_point]". Or perhaps "mount_msdosfs /dev/ad0s6 /[mount_point]". Good luck! -- Remo
On 2/27/2005 at 2:40 AM Jan Sebosik wrote:>Hi > >When I disklabel -r /dev/ad1s2 (the first extended slice), i get : a: >135186912 62 MSDOS c: etc # don`t delete this line.... >mount -t msdos /dev/ad1s2a /mnt/c --> no such file or device (yeah, >I`ve now looked into /dev/, and it really doesn`t exist in.... but don`t >know why it is so) >mount -t msdos /dev/ad1s2 /mnt/c --> invalid argument > >fdisk /dev/ad1s2 : > part1: start 63 size 135186912 (66008MB) type XY > part2: start 135186975 size 8209215 (4000MB) <- this is 2.nd >extended partition I mentioned in prev. msg > >It`s still unclear to me, why disklabel doesnt create a /dev/ad1s2a.... > >tnx >Jan Sebosik > >*********** REPLY SEPARATOR *********** If you get no joy from my previous reply forget about disklabel. Unlike with OpenBSD, with FreeBSD you do not have to write a disklabel to be able to mount an MSDOS slice (primary or extended). If you were mounting an extended partition under Linux you would mount /dev/hdx5 or /dev/hdx6 and so on. With FreeBSD extended partitions start at /dev/[s/a]dxs5. Good luck again! -- Remo
Hi, So, after yesterday I`ve succesfully solved the problem with: mount -t msdos /dev/ad1sX /mnt/X (x >= 5) thank you 4 your help, Jan Sebosik Remo Lacho wrote:> On 2/27/2005 at 2:40 AM Jan Sebosik wrote: > > >>Hi >> >>When I disklabel -r /dev/ad1s2 (the first extended slice), i get : a: >>135186912 62 MSDOS c: etc # don`t delete this line.... >>mount -t msdos /dev/ad1s2a /mnt/c --> no such file or device (yeah, >>I`ve now looked into /dev/, and it really doesn`t exist in.... but don`t >>know why it is so) >>mount -t msdos /dev/ad1s2 /mnt/c --> invalid argument >> >>fdisk /dev/ad1s2 : >> part1: start 63 size 135186912 (66008MB) type XY >> part2: start 135186975 size 8209215 (4000MB) <- this is 2.nd >>extended partition I mentioned in prev. msg >> >>It`s still unclear to me, why disklabel doesnt create a /dev/ad1s2a.... >> >>tnx >>Jan Sebosik >> >> > > > *********** REPLY SEPARATOR *********** > > If you get no joy from my previous reply forget about disklabel. > > Unlike with OpenBSD, with FreeBSD you do not have to write a disklabel to be > able to mount an MSDOS slice (primary or extended). > > If you were mounting an extended partition under Linux you would mount > /dev/hdx5 or /dev/hdx6 and so on. > > With FreeBSD extended partitions start at /dev/[s/a]dxs5. > > Good luck again! > > -- > Remo > >
On 2/27/2005 at 12:31 PM Jan Sebosik wrote:>Hi, > >So, after yesterday I`ve succesfully solved the problem with: >mount -t msdos /dev/ad1sX /mnt/X (x >= 5) > >thank you 4 your help, > >Jan Sebosik > >*********** REPLY SEPARATOR *********** Your welcome! Just remember that in the land of the blind the one-eyed is king. :) -- Remo