Linux partitioning queries.Separate home partition

Status
Not open for further replies.

praka123

left this forum longback
^I know in the aspect that the old pata drivers from andrew morton which is still used in pata hdd's(afaik and i have a sata only!) and most of the ide cd/dvd drives!i know that new drivers are there which will make ur pata device having /dev/scd0 or /dev/sr0 {libata} instead of /dev/hda;still old pata drivers are which is working fine for my dvd writer :)

the source is my own custom kernel dosth :D;correct me if am wrong.
edit: source :)
*kernelnewbies.org/Linux_2_6_19#head-cdcbaa9c1b476decdc064e0a75d23d1328b1ddce
 
OP
shady_inc

shady_inc

Pee into the Wind...
@ praka123: I followed all the steps in your post.Rebooted once after editing menu.lst file.But the error was still there.So, I got back to liveCD terminal and mounted sda2 [you had mentioned sda3 in your post, but I guess that was typo,right.??] in /mnt directory.Now, on doing the final step i.e.:
Code:
grub-install /dev/sda
I get following:
Code:
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
root@ubuntu:/# grub-install /dev/sda
[COLOR=RED]/dev/sda: Not found or not a block device.[/COLOR]
 

praka123

left this forum longback
again i was confused :oops:

OK.unmount as "sudo umount /mnt" and then run in terminal "sudo grub-install /dev/sda" and reply back.
 

praka123

left this forum longback
^shady:check ur /mnt directory for (/dev/sda2) ur ubuntu hdd install be there already(use nautilus file manager for viewing)!also,check the hdd ubuntu /boot directory for all files intact like vmlinuz-xx,initrd.img etc.

and BTW,/dev/sda7 is ur /home partn?.
 
OP
shady_inc

shady_inc

Pee into the Wind...
^shady:check ur /mnt directory for (/dev/sda2) ur ubuntu hdd install be there already(use nautilus file manager for viewing)!also,check the hdd ubuntu /boot directory for all files intact like vmlinuz-xx,initrd.img etc.

and BTW,/dev/sda7 is ur /home partn?.
Yup, I can access all my ubuntu HDD files in /mnt folder.The /boot directory contains:
*img90.imageshack.us/img90/6602/screenshotbootfilebrowset7.png [60 kb image]
And, yes sda7 is my new home partition.

EDIT: I need to go offline now.Will check back the problem status and for some help here tomorrow.Thanks for all the help till now.:p
 

Flake

Linux User
I would suggest you to boot up from SuperGRUB CD and select 'Fix Linux Boot Loader (GRUB)' option. It will detect conf files of GRUB and re-install it.
In case, it doesn't work, we will have to look somewhere else.

BTW, how did you copy files of /home folder to new partition? Did you retain permissions? I mean, did you use -a option with cp command?
 

praka123

left this forum longback
^u meant *img90.imageshack.us/my.php?image=screenshotbootfilebrowset7.png

now in the livecd session,in mounted ubuntu partition, edit ur /etc/fstab as follows to add ur / and /boot:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
[B]# /dev/sda2
/dev/sda2 /               ext3    defaults,errors=remount-ro 0       1
proc            /proc           proc    defaults        0       0

# /dev/sda1
UUID=86F420E8F420DBE5 /media/sda1     ntfs    defaults,umask=007,gid=46 0       1
# /dev/sda5
UUID=D0E06424E0641350 /media/sda5     ntfs    defaults,umask=007,gid=46 0       1
# /dev/sda6
UUID=2c783cbb-544e-4e07-be8e-8b4e056d066b none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
[COLOR=Red]/dev/sda7 /home ext3 nodev,nosuid 0 2[/COLOR]

OK.I think it is time for to set grub natively!
unmount ur hdd ubuntu partition as above(sudo umount /dev/sda2)
in livecd,open a terminal,run
Code:
sudo su -
and in "#" prompt,
run "grub" to get "grub>" prompt
then in grub>,
do :
Code:
root (hd0,1)
then;
Code:
setup (hd0)

try and reply asap dude!

EDITED fstab!
 
OP
shady_inc

shady_inc

Pee into the Wind...
^^Hey, that worked.Thanks a Lot to everyone.!!:p .Now I can proceed with the OpenSUSe [or any other distro] installation.Woohoo.!!
 
Status
Not open for further replies.
Top Bottom