LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 03-26-2011, 01:03 PM   #1
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Rep: Reputation: 23
FreeBSD installation causes "Partition # does not end on cylinder boundary."


I wanted to upgrade FreeBSD on my laptop from 8.1 to 8.2.
At the same time I took the opportunity to enlarge some partitions on my laptop.
And fix the "Partition # does not end on cylinder boundary." errors I have been experiencing for several months.
My laptop runs multiple OS's; WinXP, FreeBSD, Slackware, Ubuntu, Suse.


The basic procedure I followed was:
  1. Backup each Linux OS to an external drive.
    ( I only backed up the Linux's and not Windows or FreeBSD.
    Because Windows was on partition #1 and was only going to be enlarged.
    And the FreeBSD was going to be a complete reinstall.)
  2. Use Slackware installation DVD to repartition and format the laptop's drive.
    ( Keeping all OS's on the same numbered partition as before the change.)
  3. Reinstall each Linux OS.
  4. Install FreeBSD 8.2.

Everything went mostly very smooth.
I did have a few minutes of terror when Windows XP would not boot.
But then I realized I had it's newly resized partition type set to 83 (linux); instead of 7 (HPFS/NTFS). Oops
And I still have to determine why Ubuntu and Suse aren't loading their kernels.
But I hardly ever use those two; and they use initrd; while the Slackware does not.
And the Slackware booted without any issue.

So after restoring the three Linux's and fixing Windows; and before install FreeBSD 8.2.
My laptop's disk looked like this:
(From Slackware prompt.)
Code:
root@laptop:~# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8a8a8a8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        8486    68163763+   7  HPFS/NTFS
/dev/sda2   *        8487       12403    31463302+  a5  FreeBSD
/dev/sda3           12404       12926     4200997+  82  Linux swap
/dev/sda4           12927       19457    52460257+   5  Extended
/dev/sda5           12927       16843    31463271   83  Linux
/dev/sda6           16844       18149    10490413+  83  Linux
/dev/sda7           18150       19455    10490413+  83  Linux
root@laptop:~# 

bash-4.1$
But after installing FreeBSD 8.2.
My laptop's disk looked like this:
Code:
root@laptop:~# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8a8a8a8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        8486    68163763+   7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   *        8487       12403    31463302+  a5  FreeBSD
Partition 2 does not end on cylinder boundary.
/dev/sda3           12404       12926     4200997+  82  Linux swap
Partition 3 does not end on cylinder boundary.
/dev/sda4           12927       19457    52460257+   5  Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5           12927       16843    31463271   83  Linux
/dev/sda6           16844       18149    10490413+  83  Linux
/dev/sda7           18150       19455    10490413+  83  Linux
root@laptop:~# 

bash-4.1$
What could I have done wrong ?
Is it simply because I created the FreeBSD partition/slice using Linux's fdisk ?

Thanks;
--ET
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-27-2011, 09:08 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,199

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
fdisk does that. the sky won't fall in - things might nag.

use cfdisk or sfdisk to fix - if you're bothered.
 
2 members found this post helpful.
Old 03-28-2011, 05:18 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,644

Rep: Reputation: Disabled
Try "Gparted" (a live CD specializing in partition works http://gparted.sourceforge.net/livecd.php). It might tell you more and will let you rectify any misalignments.
 
1 members found this post helpful.
Old 04-01-2011, 08:38 AM   #4
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Original Poster
Rep: Reputation: 23
Thanks for the replies.
I guess I just learn to live with the warnings; or perhaps get rid of FreeBSD.

--ET
 
0 members found this post helpful.
  


Reply

Tags
partitioning


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
Lost partition table, "does not end on cylinder boundary" kinetic Linux - Hardware 3 03-13-2011 09:02 PM
Partition 1 does not end on cylinder boundary wood_morris Linux - Newbie 6 08-28-2009 04:57 AM
need partition to end on cylinder boundary Master of Reality Linux - General 5 02-03-2006 09:51 PM
Partition does not end on cylinder boundary. snisheeth Linux - Hardware 0 01-24-2004 04:49 PM
Partition does not end on cylinder boundary snisheeth Linux - General 0 01-22-2004 07:38 PM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration