LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-25-2005, 07:53 PM   #1
mfisher
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Kanotix to Debian Unstable on a hard drive.


Hello, I am a Newbie re Linux and have just installed on my Hard drive a system from Kanotix 8 choosing Debian Unstable with reiserf format. The kernel is version 2.6.9. It is a dual boot installation on my laptop and works OK it seems to me allowing Net connection via my Wi Fi link and I updated it using apt-get update and apt-get upgrade.
I would like to change the boot order from Linux as default to Windows XP for now as some other people will be using it for a while. This is where I run into problems, no doubt there will be others as I learn ( hopefully ). In the grub folder I find that my menu.1st file is write protected. From what I have read I must mount the partition read/write ( /hda3 in my case, /hda1 being XP ).
As root I have tried mount -o dev,rw /mnt/hda3 ( found this in Knoppix Hacks p. 172 ) only to be told "can't find /mnt/hda3 in /etc/fstb or /etc/mtab".

In /etc/fstab I see

/dev/hda3 /reiserfs defaults 0 1
proc /proc proc 0 0

etc, etc

In /etc/mtab I see

/dev/hda3 /reiserfs rw 0 0
proc /proc rw,nodiratime 0 0


etc, etc

Does this information perhaps offer a clue to someone to advise me on what I must change to enable me to edit the file in grub?

As a secondary question perhaps I should change something more general so that all or more of /hda3 is writable?

I suppose in the CD version this was not necessary but I would have thought the Hard drive install might have changed things to achieve this?

Thanks for your time,

Mike Fisher
mikefisher@sympatico.ca
 
Old 01-25-2005, 08:51 PM   #2
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Did you try ... "sudo nano your menu.1st file" from command line?
nano is a txt editor
Or just su
then enter passwd and then edit it?
 
Old 01-25-2005, 09:25 PM   #3
mfisher
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for this. I did first try sudo (some command - forget which ) and was informed gravely " you are not in the sudo list, this will be reported"! So I did then use su and password and had the result I mnetioned in my origininal post.
 
Old 01-25-2005, 10:11 PM   #4
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
Re: Kanotix to Debian Unstable on a hard drive.

Quote:
Originally posted by mfisher

As root I have tried mount -o dev,rw /mnt/hda3 ( found this in Knoppix Hacks p. 172 ) only to be told "can't find /mnt/hda3 in /etc/fstb or /etc/mtab".

In /etc/fstab I see

/dev/hda3 /reiserfs defaults 0 1
proc /proc proc 0 0

etc, etc

In /etc/mtab I see

/dev/hda3 /reiserfs rw 0 0
proc /proc rw,nodiratime 0 0
The return of the mount command was right - /mnt/hda3 doesn't exist in your fstab. try
Code:
mount -o dev,rw /reiserfs
If hda3 is your root filesystem, sould I be correct in thinking it should be mounted at / and not /reiserfs ?

Last edited by bornhj; 01-25-2005 at 10:13 PM.
 
Old 01-26-2005, 12:40 AM   #5
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
True,I missed that.
root gets mounted at /
 
Old 01-26-2005, 10:12 AM   #6
mfisher
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Re: Re: Kanotix to Debian Unstable on a hard drive.

Quote:
Originally posted by bornhj
The return of the mount command was right - /mnt/hda3 doesn't exist in your fstab. try
Code:
mount -o dev,rw /reiserfs
If hda3 is your root filesystem, sould I be correct in thinking it should be mounted at / and not /reiserfs ?
You are indeed correct. I see I made a typo' in my original message folks, sorry.
When I quoted the lines from fstab it should have read

In /etc/fstab I see

{ /dev/hda3 / reiserfs defaults 0 1 } so reiserfs has no preceding slash and the root slash is clearly separate.

I didn't realise exactly what reiserf implied being a newbie, I just thought it was a type of file system and that
I still had to find something to mount /etc itself in the file.

I used your line above to mount reiserfs and can now edit menu.lst ( not menu.1st !, my other mistake )
using nano as suggested by ironwalker in his helpful post.

Thanks to both of you, I will now press on and keep reading this helpful forum.

Mike Fisher
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 02:38 PM
Debian and an Sata Hard Drive pafinator11 Debian 7 08-29-2005 07:20 PM
Kanotix-Debian install loses files TitaniumTaz Debian 6 08-17-2005 08:12 PM
install debian 3.0 from hard drive zyuadl Linux - Software 4 05-05-2005 03:46 PM
Installing Debian From Hard Drive MrSmee Debian 3 10-21-2003 08:01 AM

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

All times are GMT -5. The time now is 12:16 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