View previous topic :: View next topic |
Author |
Message |
ravloony n00b
Joined: 04 Feb 2005 Posts: 54 Location: France
|
Posted: Mon Mar 28, 2005 11:06 am Post subject: udev doesn't see my new partition |
|
|
I just repartitioned my second hard disk in view of putting lfs on it. However, I only have /dev/hdb and /dev/hdb1.
/dev/hdb2 and /dev/hdb3 don't exist. Should I make them with mknod, or what? I am loath to reboot, but maybe that's what needs to be done?
Thanks in advance
rav _________________ No sig yet, sig ebuild up soon |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Mon Mar 28, 2005 11:19 am Post subject: Re: udev doesn't see my new partition |
|
|
ravloony wrote: | I just repartitioned my second hard disk in view of putting lfs on it. However, I only have /dev/hdb and /dev/hdb1.
/dev/hdb2 and /dev/hdb3 don't exist. Should I make them with mknod, or what? I am loath to reboot, but maybe that's what needs to be done? |
anything about partitioning changes in kernel log (`dmesg`)? if not, you can use some other partition editting tool and "save" current partition table, so kernel will re-read it... _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
ravloony n00b
Joined: 04 Feb 2005 Posts: 54 Location: France
|
Posted: Mon Mar 28, 2005 11:30 am Post subject: |
|
|
ok, I did 'fdisk /dev/hdb'
It failed with:
Code: |
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
|
There is nothing in dmesg
Does that mean I have to reboot?
Oh btw, this is my disk setup on /dev/hdb:
Code: |
Disk /dev/hdb: 40.0 GB, 40027029504 bytes
16 heads, 63 sectors/track, 77557 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 38752 19530976+ 7 HPFS/NTFS
/dev/hdb2 * 38753 38946 97776 83 Linux
/dev/hdb3 38947 74792 18066384 83 Linux
/dev/hdb4 74793 77557 1393560 82 Linux swap / Solaris
|
thanks
rav _________________ No sig yet, sig ebuild up soon |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Mon Mar 28, 2005 12:03 pm Post subject: |
|
|
ravloony wrote: | ok, I did 'fdisk /dev/hdb'
It failed with:
Code: |
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
|
There is nothing in dmesg |
yeah, this is beacause the block device is "being used", which could mean (IMHO) variety of things. Do you have something mounted from that disk? If so, unmount first.
Quote: | Does that mean I have to reboot? |
if other methods don't work, then you'll have. _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
ravloony n00b
Joined: 04 Feb 2005 Posts: 54 Location: France
|
Posted: Mon Mar 28, 2005 12:30 pm Post subject: |
|
|
Quote: |
yeah, this is beacause the block device is "being used", which could mean (IMHO) variety of things. Do you have something mounted from that disk? If so, unmount first. |
jkt, you were right. I had completely forgotten to umount /dev/hdb1. Woops! Oh well, that solved it anyway.
Thanks for your help
rav _________________ No sig yet, sig ebuild up soon |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Mon Mar 28, 2005 12:52 pm Post subject: |
|
|
ok. Could you please add "[SOLVED]" to the thread title? _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
|