Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
First do a ' /sbin/fdisk -l ' and post output.
Just want to see what fdisk is seeing.
Now as far as swap size goes in the days when ram cost big money it was recommended to double swap size based on ram. Today ram is cheap and much faster on last few year old computers. So swap can be whatever you think you may need. If you see you are using up the ram then getting into swap then it would be best to add more ram than increasing swap size just for performance enhancement. 200 meg is not over doing by any means. I use 256meg but seldom get into it with a 1 gig of ram. Once in a great while depending on what I am doing. With 2 gig you have I doubt you will get to swap space by much. But again depends on what you do. Over all with a Gui like KDE or Gnome and single user running then you are about into 150meg of ram. Depends on services runing as well. Start run multiple users with multiple guis then it disappears quickly.
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
Like the guys said, 81 cylinders is suspicious. Either you have a BIOS/drive incompatibility where it can't see the real size of the drive or you have partitions created already on that drive, or you have a kernel that can't read your drive (likely- if what you say is true about SATA). A 120G drive with standard (255 heads, 63 sectors/track) geometry has around 14,500 cyls.
I second the idea of not using more than 256M swap with a reasonable processor and 2G of RAM I will be surprised if you ever swap. But you probably also need the SATA kernel and to compile it again with highmem support or it won't see all your RAM.
Like the guys said, 81 cylinders is suspicious. Either you have a BIOS/drive incompatibility where it can't see the real size of the drive or you have partitions created already on that drive, or you have a kernel that can't read your drive (likely- if what you say is true about SATA). A 120G drive with standard (255 heads, 63 sectors/track) geometry has around 14,500 cyls.
I second the idea of not using more than 256M swap with a reasonable processor and 2G of RAM I will be surprised if you ever swap. But you probably also need the SATA kernel and to compile it again with highmem support or it won't see all your RAM.
And I do have ubuntu still on this computer, how could I remove that?
So, I do need swap?
Quote:
Originally Posted by brain1
I guess just do ' fdisk -l ' as root. Does seem odd it does not post info on drives and partitions it sees.
I figured it was IDE based on /dev/hda when you run fdisk. Sata would be /dev/sda.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Still seems odd on the fdisk -l command. I can run the command as a user and get nothing like you. Then I su - in and did the command again and got the info showing partition info. Just very odd on your system.
Anyways the info I would like to see is the same when you do the ' p ' option in the fdisk command. It should list all partitions. What does it show.
USB, Firewire and SATA all use SCSI subsystem modules and are assigned a sda device ID. I believe the early 2.4 kernel SATA modules did assign hdx device IDs. HP's website does not mention the hard drive interface but reviews on the laptop wrote that is SATA. Are you using the sata.i boot disk? If that fails you might see if the BIOS has a PATA compatable setting.
Still seems odd on the fdisk -l command. I can run the command as a user and get nothing like you. Then I su - in and did the command again and got the info showing partition info. Just very odd on your system.
Anyways the info I would like to see is the same when you do the ' p ' option in the fdisk command. It should list all partitions. What does it show.
Brian1
It didn't show anything when I tried it. Well it did show something, but no partions showed.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
You have one strange fdisk command as far as I can tell. Even if no partitions exist it should show something like this with the ' p ' command from fdisk /dev/hda.
Code:
Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Hi michealk
I was pretty sure Sata is seen as sd devices. But I have read some are seen as hd devices but it all depends on the module it uses from what I did some quick searches on. One actually said there were two modules it could use for the controller. One would see it as hda the other as sda. Isn't Linux fun.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.