LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-29-2005, 05:11 PM   #1
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
Dual boot setup and editing problems....


Morning all!

I've just added a windows install to my computer, and as a result the Linux HDD is now hdb, with my storage HDD as hdc (rather than hda and hdb respectively).
I'm trying to edit the /etc/fstab and the grub config files so that i can boot into the system again, but i've come accross a couple of problems. I'm using Damn Small Linux to mount the drives and edit them.

1) I can mount every drive, but i can't access the storage drive (hdc). It'll mount, but when i say 'ls' it tells me 'access denied'. Does it need to be accessed with another MDV install? I've tried asking su, but it needs a password, and i can't find any info on the root password for a live CD.

2) It won't let me edit the /mnt/hdb/etc/fstab file. Apparently 'fstab-sync' is used to edit it, but i can't find a man page for it, nor any mention anywhere....

3) I can't find a grub.config file in /mnt/hdb/boot/. The two config-looking files i found are called 'config' and 'config-2.6.11-6mdk' but neither are editable, nor do they seem to have any paths in.

Any ideas?

Cheers!
Avi.

Last edited by Lordandmaker; 09-29-2005 at 05:22 PM.
 
Old 10-01-2005, 02:21 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Re: Dual boot setup and editing problems....

Quote:
Originally posted by Lordandmaker
Morning all!

I've just added a windows install to my computer, and as a result the Linux HDD is now hdb, with my storage HDD as hdc (rather than hda and hdb respectively).
I'm trying to edit the /etc/fstab and the grub config files so that i can boot into the system again, but i've come accross a couple of problems. I'm using Damn Small Linux to mount the drives and edit them.

- Did you add a new hard disk to your system?.
- What did you try to edit these config files?
- Is grub still working (it gives you a command lines)?
Please answer these so that anyone can help you.
 
Old 10-01-2005, 02:43 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to be root to mount partitions, read their contents and edit the files on the mounted drives unless /etc/fstab stipulates that you can do this as a normal user. Most distros don't use grub.config, they use /boot/grub/menu.lst.
 
Old 10-01-2005, 03:23 AM   #4
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Mepis uses 'root' as the root password, why not trying it on other liveCDs ?
 
Old 10-02-2005, 02:02 PM   #5
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Original Poster
Rep: Reputation: 39
- I have added a new hard drive to the system. It is now IDE0, what was at IDE0 is now IDE1, and IDE1 has gone to IDE2.
I tried using Nano to edit the files
The boot loader is still working. It's very graphical, and i can see no option on there for a command line. The only reason i think it's grub is because of the prescence of the /boot/grub/ folder.

Will try 'root' as su password. Why didn't i think of that before?....

Cheers people!
 
  


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
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Creating a Boot Floppy for Dual Boot Setup? jdanniel Linux - Newbie 8 08-07-2004 02:08 PM
Dual Boot Setup Help Golem Linux - General 3 09-04-2002 04:29 PM
Dual Boot Setup davidt0x Linux - Newbie 8 06-09-2002 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:32 PM.

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