Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-30-2006, 08:47 PM
|
#1
|
Member
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232
Rep:
|
Unable to see current FreeBSD partitions from Slack install disc1
Hi everyone, I will post my question here, since I am trying to install Slackware, although the question might be more general. I am trying to install Slack10.2 on my office machine that had FreeBSD 6.0 installed on it for couple of days.
[Long story short, I wanted to try it out, but I had trouble installing Linux versions of Matlab and Mathematica on it, and I don't have time to play with it, so I wanna switch back to familiar Slack.]
ANyways... I put in the install disc 1 and I can't seem to be able to see the current partition table with fdisk. I mean gets me into fdisk, but when I type p, it's like there is nothing on the HD. Similarly, when I try to wipe the HD with
Code:
dd /dev/zero /dev/sda
, it says No more space on the disk. I also tried mounting the HD with
Code:
mount -t ufs /dev/sda /mnt
, but it says kernel doesn't support ufs filesystem. I tried several kernels bare.i, bareacpi.i, sata.i. Can someone tell me why is the current Freebsd partition table invisible to the install disc? I wanna be able to see the current partitions on the HD before I get rid of them, and I wanna be able to use dd utility to wipe off the HD. Thanks. My HD is Seagate ST3120026AS 3.18.
Last edited by frankie_DJ; 01-31-2006 at 01:46 PM.
|
|
|
01-31-2006, 01:47 PM
|
#2
|
Member
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232
Original Poster
Rep:
|
Will someone take a shot at this?
|
|
|
01-31-2006, 02:44 PM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
When you install FBSD, you can dedicate the whole disk to it. In that case, you don't have a DOS-style partition table. I suppose that is what you did.
To install Slackware, try to create at least 2 partitions using fdisk or cfdisk (one for swap and one for the root file system). After that you should be able to run setup.
Of course you'll lose all that was on the disk before, I assume that that's OK.
|
|
|
01-31-2006, 09:00 PM
|
#4
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
To mount FreeBSD slices in linux you need to pass the ufstype=ufs2 option to mount.
http://www.j79zlr.com/howto.php?id=22
|
|
|
01-31-2006, 10:41 PM
|
#5
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
can cfdisk delete bsd partitions? Above post says kernel needs ufs support. Compile a kernel to install SW? Is there a readily available program to erase the bsd partions or will bsd install disk delete them? Maybe RIP floppy can work.
Last edited by lestoil; 01-31-2006 at 10:49 PM.
|
|
|
01-31-2006, 10:50 PM
|
#6
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
I skimmed the first post, I thought the guy was trying to mount freebsd partitions in linux. You don't need support in the kernel to erase them. What exactly does p show you? Here is an example from one of my PC's with Linux and FBSD:
Code:
joe@gentoo ~ $ su -
Password:
root@gentoo ~ # fdisk /dev/hda
The number of cylinders for this disk is set to 9729.
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): p
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2611 20972826 7 HPFS/NTFS
/dev/hda2 2612 5222 20972857+ 83 Linux
/dev/hda3 5223 7833 20972857+ a5 FreeBSD
/dev/hda4 7834 9729 15229620 c W95 FAT32 (LBA)
Command (m for help):
|
|
|
01-31-2006, 11:02 PM
|
#7
|
Member
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232
Original Poster
Rep:
|
It shows everything the same as yours, including
Device/Boot/Start/End/Blocks/Id/System line, but that's the last line of the output. Why are the partition tables made by FreeBSD invisible to fdisk? That's what's bugging me.
|
|
|
02-01-2006, 07:48 AM
|
#8
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
In FBSD terminology, what we call a partition is called a "slice", and a partition is a part of a slice. So FBSD partitions are different from our (DOS) partitions. Same word, different sense.
As I said before, you probably dedicated the whole disk to FBSD during installation. In that case it will not use the partition scheme you are used to, i.e. not create any "slices", but consider the disk as one slice of FBSD. In that case you do not have a traditional partition table and fdisk will not show anything.
Google for "freebsd slice partition" for more information.
|
|
|
02-01-2006, 09:05 AM
|
#9
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
FBSD forum says that gparted, fdisk, cfdisk, can delete the usf2 partitions. The FBSD install fdisk/cfdisk should do same-change a5 id to 83? Confirm at their forum.
|
|
|
02-01-2006, 10:18 PM
|
#10
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
just some coments only.
?>. try test2.6.s kernel
?> are u sure that it is "/dev/sda "
first try #fdisk -l then get the name of ur disk
?>
Quote:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
|
is it showing some 700 mb instead of gbs.
Last edited by rkrishna; 02-01-2006 at 10:20 PM.
|
|
|
All times are GMT -5. The time now is 02:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|