Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
confusing partition table
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Sendell
n00b
n00b


Joined: 30 Sep 2002
Posts: 6
Location: Belgium

PostPosted: Sat Nov 20, 2004 6:50 pm    Post subject: confusing partition table Reply with quote

Hello all,

I'm doing a new installation, and wanted to try out reiser4 (lxnay livecd).
During partitioning and creation of the filesystems I mistyped and changed my mind a few times but when it finally was ok I rebooted, mounted and it all looked good (as far as I could see with mount command)

Later on I noticed that there was something wrong. (hiding hdc to keep it clear, it contains /var /tmp /home /usr)

what I wanted:
Code:
/dev/hda7    reiserfs     30M      /boot
/dev/hda8    linux-swap 500M   swap
/dev/hda9    reiser4      5G       /
It all looks ok when mounting:
Code:
lxnaycd tecnico # mount /dev/hda9 /mnt/gentoo/
lxnaycd tecnico # mount /dev/hda7 /mnt/gentoo/boot/
lxnaycd tecnico # swapon /dev/hda8
lxnaycd tecnico # mount
...
/dev/hda9 on /mnt/gentoo type reiser4 (rw)
/dev/hda7 on /mnt/gentoo/boot type reiserfs (rw)
...
but output of 'fdisk -l' tells me something else:
Code:
/dev/hda7    82  Linux swap
/dev/hda8     b  W95 FAT32
/dev/hda9    83  Linux
and qtparted tells me a third thing:
Code:
/dev/hda7    unknown     30M
/dev/hda8    reiserfs   500M
/dev/hda9    linux-swap   5G
Clearly there is something wrong as the disk seems to remember some things from the past. :?
Now to solve it I was thinking of:
  1. booting with livecd, mounting a partition on hdc (reiser4) and then using mv command to move / and /boot to each his own new directory.
  2. make hdc somehow forget these strange things and recreate the partitions
  3. mv / and /boot back and live happily ever after
Questions :):
  • What happen ?
  • How do I do number 2? (I don't want to lose the other partitions on hda)
  • Would there be a problem with permissions if I start moving the files around?
  • What did I overlook?
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Sat Nov 20, 2004 7:36 pm    Post subject: Reply with quote

Permissions will be ok if you will cp -p everything.
Back to top
View user's profile Send private message
Sendell
n00b
n00b


Joined: 30 Sep 2002
Posts: 6
Location: Belgium

PostPosted: Sun Nov 21, 2004 10:26 pm    Post subject: Reply with quote

thanks,
I looked into cp arguments and used 'cp -Rpd'

FYI, It's solved, fdisk said something about wrong order of partitions. wich I could fix in the eXpert menu in fdisk.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum