installing linux after freebsd (multi-boot)

अनुज Anuj Singh anujhere at gmail.com
Mon Dec 31 05:46:39 PST 2007


On Dec 31, 2007 1:29 PM, आशीष शुक्ल Ashish Shukla <wahjava.ml at gmail.com> wrote:
> ,--[ On Mon, Dec 31, 2007 at 09:03:08AM +0530, अनुज Anuj Singh wrote:
>
> [snipped]
>
> | > >> On 30/12/2007, ???? <anujhere at gmail.com> wrote:
> | > >>
> | > >>> Hello ,
> | > >>> I have freebsd6.2 installed with Fedora core 7 and rhe4.
> | > >>> I am installing rhel5 , when linux installation process starts I get an
> | > >>> error of /dev/hdc1 busy , can not report to kernel about partition
> | > >>> layout. In the past I installed linux then FreeBSD.
> | > >>> Is there some method that rhel5 installation can skip /dev/hdc1
> | > >>> (freebsd slice) ? saving my freebsd installation
>
> You get /dev/hdc1 busy error. At which step in installation, you get
> /dev/hdc1 busy error, hmm...? Are you trying to remove '/dev/hdc1'
> (FreeBSD slice), if yes, then you'll get error, and you probably need to
> remove FreeBSD partitions (present in slice) first.

No I am not removing/mounting/using FreeBSD slice.

This is the log...

03:29:50 INFO    : moving (1) to step confirminstall
03:30:13 INFO    : moving (1) to step install
03:30:13 INFO    : moving (1) to step enablefilesystems
03:30:17 INFO    : lv is VolGroup00/LogVol00, size of 1472
03:30:17 INFO    : lv is VolGroup00/LogVol01, size of 2496
03:30:17 INFO    : lv is VolGroup00/LogVol02, size of 672
03:30:17 INFO    : lv is VolGroup00/LogVol03, size of 1024
03:30:17 INFO    : lv is VolGroup00/LogVol04, size of 9984
03:30:17 INFO    : lv is VolGroup00/LogVol05, size of 9344
03:30:17 INFO    : removing lv LogVol03
03:30:18 INFO    : removing lv LogVol00
03:30:18 INFO    : removing lv LogVol04
03:30:19 INFO    : removing lv LogVol05
03:30:19 INFO    : removing lv LogVol02
03:30:20 INFO    : removing lv LogVol01
03:30:21 INFO    : pv is /dev/hdc11 in vg VolGroup00, size is 29996
03:30:21 INFO    : vgremove VolGroup00
03:30:22 INFO    : pvremove -ff -y /dev/hdc11
03:30:22 INFO    : pvcreate -ff -y -v /dev/hdc11
03:30:23 CRITICAL: parted exception: Error: Error informing the kernel
about modifications to partition /dev/hdc1 -- Device or resource busy.
 This means Linux won't know about any changes you made to /dev/hdc1
until you reboot -- so you shouldn't mount it or use it in any way
before rebooting.
03:31:08 CRITICAL: Traceback (most recent call first):
  File "/usr/lib/anaconda/partedUtils.py", line 876, in savePartitions
    disk.commit()
  File "/usr/lib/anaconda/packages.py", line 145, in turnOnFilesystems
    anaconda.id.diskset.savePartitions ()
  File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1007, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
    self.currentWindow.renderCallback()
error: Error: Error informing the kernel about modifications to
partition /dev/hdc1 -- Device or resource busy.  This means Linux
won't know about any changes you made to /dev/hdc1 until you reboot --
so you shouldn't mount it or use it in any way before rebooting.


From anacdump.txt
Traceback (most recent call first):
 File "/usr/lib/anaconda/partedUtils.py", line 876, in savePartitions
   disk.commit()
 File "/usr/lib/anaconda/packages.py", line 145, in turnOnFilesystems
   anaconda.id.diskset.savePartitions ()
 File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
   rc = stepFunc(self.anaconda)
 File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
   self.moveStep()
 File "/usr/lib/anaconda/gui.py", line 1007, in nextClicked
   self.anaconda.dispatch.gotoNext()
 File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
   self.intf.icw.nextClicked()
 File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
   self.currentWindow.renderCallback()
error: Error: Error informing the kernel about modifications to
partition /dev/hdc1 -- Device or resource busy.  This means Linux
won't know about any changes you made to /dev/hdc1 until you reboot --
so you shouldn't mount it or use it in any way before rebooting.

Local variables in innermost frame:
self: <partedUtils.DiskSet instance at 0xb7bce72c>
disk: <PedDisk object at 0xb7e37638>
>
> [snipped]
>
> | Hi,
> | 1. I am trying to fresh install over single disk.
> | 2. I have FreeBSD6.2 slice on first primary partition of the disk.
>
> There should be absolutely no problem in installing RHEL5, even
> GNU/Linux can read FreeBSD disklabels (and partitions) without any
> problem :) .
>
> | can I have a look at your partition table ?
>
> Here is mine, I'm running Ubuntu Linux, which is installed after FreeBSD.
>
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00083e09
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           1        2611    20972826   a5  FreeBSD
> /dev/sdb2            2612        9229    53159085   83  Linux
> /dev/sdb3            9230        9254      200812   83  Linux
> Partition 3 does not end on cylinder boundary.
> /dev/sdb4            9255       19457    81955597+   f  W95 Ext'd (LBA)
> /dev/sdb5            9255       15373    49150836   83  Linux
> /dev/sdb6           15374       19329    31776538+  83  Linux
> /dev/sdb7           19330       19457     1028128+  82  Linux swap / Solaris
>
> | I have IDE hard disk.
>
> Mine is SATA disk, but that should make no difference :)
>
> | Regards.
> | Anuj singh "anugunj"
>
> HTH
> --
> Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
> ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHeKF4Hy+EEHYuXnQRAoESAJ9FzMVHi5oftStuzXlkMxMKBssGoQCfWU3/
> bxDw94Ti+orbLLN0QfCrHU4=
> =WQeY
> -----END PGP SIGNATURE-----
>
>


More information about the freebsd-questions mailing list