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:
- 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.)
- 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.)
- Reinstall each Linux OS.
- 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