LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2004, 11:29 PM   #31
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Well...


Everything checks out but I'm going to wait to maybe upgrade System Commander so that it can read and resize ReiserFS format. I was just into WinBloz that time and just to reinstall SysCmdr and stuff and let me tell you, what a depressing experience it is just to be there for all of 5 minutes...

I'm thinking I got to to reinstall the WinBlows partition with just Win98 on it for convienience and have it at maybe 2 gig out of my 12 gig. Have that just there in case theres something I need of if there's a game I'd like to play. My dell is only 500 Mhz anyway so most of the new games for Win2k won't really run all that well on this machine so whats the sense. And also, even though the laptop shipped with Win98 only, I've never been able to get it's Internet connection going and quite frankly could care less. It only means that I don't have to install any Anti-Virus, Anti-Spyware, Anti-Userware and everything else...

So thanks again everybody for helping me get this system straightened out. It's nice to know that my system is back up to par and to boot is practically all Linux!

Way to go Linux!

- perry

ps.
out of curiosity, i was wondering what fdisk would say about a working system:
Code:
root@slackware:/home/perry# fdisk /dev/hda

The number of cylinders for this disk is set to 23392.
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: 12.0 GB, 12072517632 bytes
16 heads, 63 sectors/track, 23392 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       10410     5246608+   c  W95 FAT32 (LBA)
/dev/hda2           10411       23195     6443640    5  Extended
/dev/hda5           10411       11442      520096+  83  Linux
/dev/hda6           11443       13028      799312+  82  Linux swap
/dev/hda7           13029       19247     3134344+  83  Linux
/dev/hda8           19248       20065      412240+  83  Linux
/dev/hda9           20066       22153     1052320+  83  Linux
/dev/hda10          22154       23195      525136+  83  Linux

Command (m for help): x

Expert command (m for help): p

Disk /dev/hda: 16 heads, 63 sectors, 23392 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0  15  63 1023         63   10493217 0c
 2 00  15  63 1023  15  63 1023   10493280   12887280 05
 3 00   0   0    0   0   0    0          0          0 00
 4 00   0   0    0   0   0    0          0          0 00
 5 00  15  63 1023  15  63 1023         63    1040193 83
 6 00  15  63 1023  15  63 1023          1    1598625 82
 7 00  15  63 1023  15  63 1023          1    6268689 83
 8 00  15  63 1023  15  63 1023          1     824481 83
 9 00  15  63 1023  15  63 1023          1    2104641 83
10 00  15  63 1023  15  63 1023          1    1050273 83
thanks again to Chris for his tremendous contribution to fdisk evolution....

Last edited by perry; 08-06-2004 at 11:43 PM.
 
Old 08-07-2004, 12:22 AM   #32
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Hi,

been busy eslewhere but looks like you got it fixed...

I should have tried fdisk here as that expert partition table info was a red herring Sorry. mine reads like yours:

Code:
Disk /dev/hdb: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        8126     4095472+   b  W95 FAT32
/dev/hdb2            8127      103376    48006000    5  Extended
/dev/hdb5            8127       16252     4095472+   b  W95 FAT32
/dev/hdb6           16253       17477      617368+  82  Linux swap
/dev/hdb7           17478       37826    10255864+  83  Linux
/dev/hdb8           37827       62412    12391312+  83  Linux
/dev/hdb9           62413      103376    20645824+  83  Linux

Command (m for help): x

Expert command (m for help): p

Disk /dev/hdb: 16 heads, 63 sectors, 155061 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0  15  63 1023         63    8190945 0b
 2 00  15  63 1023  15  63 1023    8191008   96012000 05
 3 00   0   0    0   0   0    0          0          0 00
 4 00   0   0    0   0   0    0          0          0 00
 5 00  15  63 1023  15  63 1023         63    8190945 0b
 6 00  15  63 1023  15  63 1023         63    1234737 82
 7 00  15  63 1023  15  63 1023         63   20511729 83
 8 00  15  63 1023  15  63 1023         63   24782625 83
 9 00  15  63 1023  15  63 1023         63   41291649 83
 
Old 08-07-2004, 02:07 AM   #33
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Quick question....

I'm thinking it really makes no difference that the CHS values belong to ancient architecture and I should not worry about the values....

But....

Will the number of heads change of 240 to 16 have any effect on hard disk performance? I just issued a rather large batch operation and if i didn't know better, I'd say it seemed to take longer than expected....

Maybe it's just me....

Any comments!

- perry
 
Old 08-07-2004, 03:40 AM   #34
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Hmmmmm....

System Commander does it's magic...
Well, I thought I'd resize the WinBlows partition after all.... Little did I know what System Commander was going to do... It appears to have changed back the number of heads to 240 and kinda straightened up the partition table, I don't have a bunch of 0.4 breaks now and the last partition space is kinda difference... I think I can see why it mysteriously disappears and reappears on its own...
Code:
                                cfdisk 2.12a

                            Disk Drive: /dev/hda
                      Size: 12072517632 bytes, 12.0 GB
            Heads: 240   Sectors per Track: 63   Cylinders: 1559

   Name        Flags     Part Type  FS Type         [Label]        Size (MB)
 ---------------------------------------------------------------------------
   hda1        Boot       Primary   W95 FAT32                        3824.28
   hda3                   Primary   Linux ext2    [           ]      1548.29
   hda5                   Logical   Linux ReiserFS                    532.62*
   hda6                   Logical   Linux swap                        818.53*
   hda7                   Logical   Linux ReiserFS                   3209.61*
   hda8                   Logical   Linux ext2                        422.17*
   hda9                   Logical   Linux ext2                       1077.61*
   hda10                  Logical   Linux ReiserFS                    537.78*
                          Pri/Log   Free Space                         98.06*

    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

                Toggle bootable flag of the current partition
Thinking about dumping Win2k, keeping Win98 (just in case)
The pagefile.sys is taking up 3/4 gig and the c:\win2k directory another 1 gig, so it seems logical since I never use the thing to ditch it and get another 2 gig out of the mess.

fdisk reports better now
Oddly enough, fdisk is now reporting what seems to be more logical information, as a result of putting more Linux partitions on the system.... when wonders never cease...
Code:
root@slackware:/home/perry# fdisk /dev/hda

The number of cylinders for this disk is set to 1559.
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: 12.0 GB, 12072517632 bytes
240 heads, 63 sectors/track, 1559 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         494     3734608+   b  W95 FAT32
/dev/hda2             695        1547     6448680    5  Extended
/dev/hda3             495         694     1512000   83  Linux
/dev/hda5             695         763      520096+  83  Linux
/dev/hda6             763         869      799312+  82  Linux swap
/dev/hda7             869        1284     3134344+  83  Linux
/dev/hda8            1284        1338      412240+  83  Linux
/dev/hda9            1338        1477     1052320+  83  Linux
/dev/hda10           1477        1547      525136+  83  Linux

Partition table entries are not in disk order

Command (m for help): x

Expert command (m for help): p

Disk /dev/hda: 240 heads, 63 sectors, 1559 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0 239  63  493         63    7469217 0b
 2 00   0   1  694 239  63 1022   10493280   12897360 05
 3 00   0   1  494 239  63  693    7469280    3024000 83
 4 00   0   0    0   0   0    0          0          0 00
 5 00   1   1  694 191  63  762         63    1040193 83
 6 00 193   1  762 127  63  868         63    1598625 82
 7 00 129   1  868  31  63 1022         63    6268689 83
 8 00  33   1 1022 159  63 1022         63     824481 83
 9 00 161   1 1022 207  63 1022         63    2104641 83
10 00 209   1 1022  79  63 1022         63    1050273 83

Expert command (m for help):
I'm tempted to make the 98 mb a primary partition, hopefully it'll be /dev/hda4 making the picture complete and allowing me to use /var/www again...

What an interesting few days it's been!

- perry

Last edited by perry; 08-07-2004 at 03:47 AM.
 
Old 08-07-2004, 04:18 AM   #35
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Well, i got that last partition...

I used system commander to partition that last partition, i'm wondering if i made a mistake.... nothing critical but there's 5 mb not used, no i'm not pressed for space, it just looks odd.
Code:
                                 cfdisk 2.12a

                             Disk Drive: /dev/hda
                       Size: 12072517632 bytes, 12.0 GB
             Heads: 240   Sectors per Track: 63   Cylinders: 1559

   Name        Flags      Part Type  FS Type         [Label]        Size (MB)
 ----------------------------------------------------------------------------
   hda1        Boot        Primary   W95 FAT32                        3824.28
   hda3                    Primary   Linux ext2    [USR_LOCAL  ]      1548.29
   hda5                    Logical   Linux ReiserFS                    532.62*
   hda6                    Logical   Linux swap                        818.53*
   hda7                    Logical   Linux ReiserFS                   3209.61*
   hda8                    Logical   Linux ext2                        422.17*
   hda9                    Logical   Linux ext2                       1077.61*
   hda10                   Logical   Linux ReiserFS                    537.78*
                           Logical   Free Space                          5.17*
   hda4                    Primary   Linux ext2    [VAR_WWW    ]        92.90


    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

                Toggle bootable flag of the current partition
so i don't know if i'm going to worry about it, it's tempting however to use cfdisk at this point to recreate it, what do you think?

update
well, i kinda found out the semi-hard way... i can use cfdisk to get that partition and this is where Linux shines, it's not a problem.... however, system commander all but has a hissy fit, it cannot see any logical partition data at all... so why am i keeping system commander around? i dunno, but it does somethings really nice, like putting back the heads value to 240 so that i know it has no effect on the speed of the drive.... perhaps this is the case anyway, but besides that, it has a bunch of nifty utilities quite frankly i'd like to see under Linux.... but thats ok, things are done differently under Linux and I cannot complain about that. the sweet news is that i was able to boot the machine back into Linux, delete the partition using cfdisk and recreate it with system commander and now all is fine...

so here's my new layout:
Code:
root@slackware:/var/hold# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5               520076    183292    336784  36% /
none                    257628       344    257284   1% /tmp
/dev/hda7              3134244   2452752    681492  79% /usr
/dev/hda8               399207        18    378577   1% /usr/local3
/dev/hda9              1019304    842212    124476  88% /home
/dev/hda10              525112    443200     81912  85% /opt
none                    257628         8    257620   1% /home/guest
/dev/hda4                87827      5536     77755   7% /var/www
/dev/hda3              1462974        13   1387361   1% /usr/local2
/dev/hda1              3727312   3214448    512864  87% /mnt/windows
/dev/sda1             39017920   4090176  34927744  11% /mnt/maxtor
/dev/sdb1                80066       590     79476   1% /mnt/flashcard
(the /usr/local3 is representing the /tmp space now being simulated using tmpfs, the /usr/local2 is where the new /usr/local will go after i bring the current /usr/local over to it)

the plan is to make the recovered space from WinBloz into /usr/local for all the projects i seem to be compiling under my /home/perry/projects directory which seems to be the way Slackware does things, which is pretty cool by me...!

in theory i could extend partition hda10 (under cfdisk) but that's like asking for trouble and i don't want that...

it's soooo nice to have most of my system under Linux now (especially Slackware), i'm going to have it no other way...

- perry

ps.
anybody know how to put those real purty labels on the partitions ????

Last edited by perry; 08-07-2004 at 04:53 AM.
 
Old 08-07-2004, 04:56 AM   #36
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Talking Thanks Tim!

Quote:
Originally posted by amosf
Hi,

been busy eslewhere but looks like you got it fixed...

I should have tried fdisk here as that expert partition table info was a red herring Sorry. mine reads like yours:

Tim,

Glad you took the time to get back to me! It's been an experience! And I learned a whole bunch! Somebody needs to congratulate the guy that wrote TestDisk, it rocks!

Thanks again!

- perry
 
Old 08-09-2004, 04:43 AM   #37
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
At the least you can generate suspense .

I'm glad you could right things with TestDisk. Good luck
 
Old 08-31-2004, 01:48 AM   #38
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by JZL240I-U
At the least you can generate suspense .

I'm glad you could right things with TestDisk. Good luck
Well, that problem seems like a thousand years ago.... and today, I've been able to make use of the space. I've got a new /usr/local partition and i'm wondering how i lived without it. Further, I've got Win98 & Win2K obediently sharing a 2 gig partition. I might increase that to 2.5, but it's working fine so why bother. Also, I've got system commander working when i need it, other than that Lilo takes care of all my pain...
Code:
TestDisk 5.3, Data Recovery Utility, May 2004
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/hda - CHS 23385 16 63 - 11509 MB

     Partition                   Start          End       Size
 1 * FAT32 LBA                0   1  1  4154  15 63    4188177 [WINDOWS]
 2 P Linux                 7410   0  1 10409  15 63    3024000 [USR_LOCAL]
 3 E extended LBA         10410   0  1 23204  15 63   12897360
 4 P Linux                23205   0  1 23384  15 63     181440 [VAR_WWW]
 5 L Linux                10410   1  1 11441  15 63    1040193
 6 L Linux Swap           11442   1  1 13027  15 63    1598625
 7 L Linux                13028   1  1 19246  15 63    6268689
 8 L Linux                19247   1  1 20064  15 63     824481 [TMP]
 9 L Linux                20065   1  1 22152  15 63    2104641 [HOME]
10 L Linux                22153   1  1 23194  15 63    1050273

[  Quit  ]  [Search! ]  [ Write  ]
It's so nice to tweak things...

Now I'm in a position to load up a bunch of free math packages onto my machine and get ready for my degree in math & engineering...

Isn't Linux great!

- perry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 08:12 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 07:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM
partition problem!! maseby Red Hat 3 06-10-2004 10:43 PM
What the... ??? (RH 7.3 Partition Problem) zeky Linux - General 7 07-24-2002 04:26 PM


All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration