LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2010, 11:57 AM   #1
reg.doug
LQ Newbie
 
Registered: Aug 2009
Location: Very far north
Distribution: openSuSE, Arch
Posts: 14

Rep: Reputation: 0
can't mount root filesystem after partion change


I am a linux semi-noob who just got the idea that it would be fun to play with Arch Linux. I was dual-booting Windows and OpenSuSE, and I installed Arch by shrinking the Windows partition and putting a new logical partition in between the windows partition and the swap partition I already have.

My disk setup:
Code:
/dev/sda1:   DellUtility (vfat)   ??
/dev/sda2:   DellRecovery (ntfs)
/dev/sda3:   OS (ntfs)            Win7 partition
/dev/sda5:   arch root (ext3)     ArchLinux
/dev/sda6:   shared swap partion
/dev/sda7:   SHARE (ntfs)         For docs/music/etc
/dev/sda8:   opensuse root (ext4)
This changed the /(root) partition of OpenSuSE from /dev/sda7 to /dev/sda8. I edited the opensuse fstab to reflect the changes and rebooted.

Unfortunately, opensuse still thinks that its root filesystem is on /dev/sda7 so it fails to boot b/c it is looking at an ntfs filesystem that I used for document sharing.

If someone has a solution, that will save me from having to reinstall opensuse.

Thanks in advance!
 
Old 05-25-2010, 12:18 PM   #2
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
Posting your /etc/fstab and /boot/grub/menu.lst or /boot/grub/grub.cfg would help us a lot.
 
Old 05-25-2010, 04:12 PM   #3
reg.doug
LQ Newbie
 
Registered: Aug 2009
Location: Very far north
Distribution: openSuSE, Arch
Posts: 14

Original Poster
Rep: Reputation: 0
Here is /boot/grub/menu.lst
Code:
# (3) OpenSuse
title openSuSE 11.2 Desktop
root (hd0,7)
kernel /boot/vmlinuz resume=/dev/sda6 splash=silent quiet showopts vga=0x3$ga=0x317
initrd /boot/initrd

# (4) OpenSuse Failsafe
title openSuSE 11.2 Failsafe
root (hd0,7)
kernel /boot/vmlinuz showopts apm=off noresume edd=off p$$=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vg$$afe vga=0x317
initrd /boot/initrd
And /etc/fstab
Code:
/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT2_WD-WXJ0AA941525-part6 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT2_WD-WXJ0AA941525-part8 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT2_WD-WXJ0AA941525-part3 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-WDC_WD3200BEVT-75ZCT2_WD-WXJ0AA941525-part7 /windows/Share       ntfs-3g    users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
The edits I mentioned were to change the "resume=" parameter in menu.lst and the number at the end of the fstab entries (e.g. ...-part7 became ...-part8)
 
Old 05-25-2010, 05:02 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
No "root=..." parameter to the kernel ?.
Might need to look at that initrd as well.
 
1 members found this post helpful.
Old 05-25-2010, 06:15 PM   #5
reg.doug
LQ Newbie
 
Registered: Aug 2009
Location: Very far north
Distribution: openSuSE, Arch
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
No "root=..." parameter to the kernel ?.
Thank you, now I feel quite dumb but my system works.
 
Old 05-31-2010, 12:55 PM   #6
nbreight
LQ Newbie
 
Registered: May 2010
Distribution: openSUSE 11.2 with KDE 3.5.10
Posts: 12

Rep: Reputation: 1
your /boot/grub/menu.lst should look like this
=================================

# (3) OpenSuse
title openSuSE 11.2 Desktop
root (hd0,8) ## replace 7 with 8
kernel /boot/vmlinuz resume=/dev/sda6 splash=silent quiet showopts vga=0x3$ga=0x317
initrd /boot/initrd

# (4) OpenSuse Failsafe
title openSuSE 11.2 Failsafe
root (hd0,8) ## replace 7 with 8
kernel /boot/vmlinuz showopts apm=off noresume edd=off p$$=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vg$$afe vga=0x317
initrd /boot/initrd

=================================
thus replacing root (hd0,7) by root (hd0,8)
hth
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No filesystem could mount root (new kernel) nonis Slackware 12 10-20-2008 03:14 PM
Re-mount root filesystem ( / ) advanxiang Linux - Kernel 2 11-05-2007 06:55 PM
HELP..can't mount root filesystem WindowsDependant Linux - Software 11 02-20-2006 08:20 PM
Unable to mount my root filesystem !!! Manhatten101 Linux - Enterprise 2 09-06-2005 02:12 PM
how to change filesystem mount point? buehler Linux - Newbie 5 04-16-2005 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration