Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: [gentoo-user] partitioning from Knoppix
Date: Sat, 08 Oct 2005 08:40:56
Message-Id: Pine.LNX.4.63.0510080928330.13408@weber.math.ist.utl.pt
1 I'm trying to reinstall gentoo, after serious troubles due to hd failure
2 (I fear) or filesystem corruption (I hope). So, I booted Knoppix and I'm
3 trying to repartition hda. I deleted all partitions and tried to save
4 changes, before making new partitions. Problem is:
5
6 root@0[~]# fdisk /dev/hda
7
8 The number of cylinders for this disk is set to 9733.
9 There is nothing wrong with that, but this is larger than 1024,
10 and could in certain setups cause problems with:
11 1) software that runs at boot time (e.g., old versions of LILO)
12 2) booting and partitioning software from other OSs
13 (e.g., DOS FDISK, OS/2 FDISK)
14
15 Command (m for help): p
16
17 Disk /dev/hda: 80.0 GB, 80060424192 bytes
18 255 heads, 63 sectors/track, 9733 cylinders
19 Units = cylinders of 16065 * 512 = 8225280 bytes
20
21 Device Boot Start End Blocks Id System
22
23 Command (m for help): w
24 The partition table has been altered!
25
26 Calling ioctl() to re-read partition table.
27
28 WARNING: Re-reading the partition table failed with error 16:
29 Device or resource busy.
30 The kernel still uses the old table.
31 The new table will be used at the next reboot.
32 Syncing disks.
33
34
35 Rebooting is not an option, since I'm working remote through ssh.
36
37 BTW:
38 root@0[~]# mount
39 /dev/root on / type ext2 (rw)
40 /dev/hdc on /cdrom type iso9660 (ro)
41 /dev/cloop on /KNOPPIX type iso9660 (ro)
42 /ramdisk on /ramdisk type tmpfs (rw,size=813616k)
43 /UNIONFS on /UNIONFS type unionfs
44 (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro)
45 /UNIONFS/dev/pts on /UNIONFS/dev/pts type devpts (rw)
46 /proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666)
47 automount(pid2703) on /mnt/auto type autofs
48 (rw,fd=4,pgrp=2703,minproto=2,maxproto=4)
49 /UNIONFS/dev/hdb5 on /mnt/hdb5 type ext3 (rw)
50
51 So, what went wrong? And is there any way to force use of the new table,
52 other than rebooting?
53 --
54 Jorge Almeida
55 --
56 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] partitioning from Knoppix Robert Crawford <flacycads@×××.net>
Re: [gentoo-user] partitioning from Knoppix [SOLVED] Jorge Almeida <jalmeida@××××××××××××.pt>
Re: [gentoo-user] partitioning from Knoppix Neil Bothwick <neil@××××××××××.uk>