LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2010, 10:44 PM   #16
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by kakaka View Post
sudo or su, whichever you prefer.
SUDO!!!

okay so sudo [enter]

password [enter]

fdisk -l /dev/sda [enter]

correct?

I'm booted into windows now so hold on while I switch
 
Old 03-25-2010, 10:51 PM   #17
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
You can just login as root. Enter root as the user name and enter the root password.
 
Old 03-25-2010, 10:59 PM   #18
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
I would suggest that if you could maybe stay logged into Linux as root in graphic mode, and run a browser this might be a lot faster.
 
Old 03-25-2010, 11:20 PM   #19
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15
Okay here are the results

Code:
fdisk -l /dev/sda

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0e001af1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       19858   159404656    7  HPFS/NTFS
/dev/sda3           19859       38913   153059287+   5  Extended
/dev/sda5           19859       38237   147629286   83  Linux
/dev/sda6           38564       38913     2811343+  82  Linux swap / Solaris
/dev/sda7           38238       38541     2441848+  83  Linux
/dev/sda8           38542       38563      176683+  82  Linux swap / Solaris

Partition table entries are not in disk order
 
Old 03-25-2010, 11:27 PM   #20
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
OK, thanks! Could you please post the output from this command:

Quote:
cat /boot/grub/menu.lst
 
Old 03-25-2010, 11:34 PM   #21
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kakaka View Post
OK, thanks! Could you please post the output from this command:
Note: I'm booted into my primary Linux partition

The output is "No such file or directory"

I'm guessing thats where grub is installed? Should I be booted into my useless 2.5 gb partition?

UGH why can't windows play nicely?
 
Old 03-25-2010, 11:38 PM   #22
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
Quote:
Originally Posted by magic8ball88 View Post
[...]

Should I be booted into my useless 2.5 gb partition?
Yes, please!


Quote:
Originally Posted by magic8ball88 View Post

UGH why can't windows play nicely?
That is a question for which many people have been seeking an answer, ever since Puppies were the oldest animals.
 
Old 03-25-2010, 11:39 PM   #23
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
it would probably be easier for you to boot the useless partition to get the required output.
maybe you can mount the drive then hunt around for the file in question; maybe:
Code:
mkdir mint-2; mount /dev/sda7 mint-2
cat mint-2/boot/grub/menu.lst
 
Old 03-25-2010, 11:45 PM   #24
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15
I'm in the useless partition and ran the commands as stated above but it still says no such file or directory.
 
Old 03-25-2010, 11:49 PM   #25
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
If I'm thinking correctly, I'm expecting to find your menu.lst in your useless partition.

If in your useless partition you execute this command, what is the output?

Quote:
cat /boot/grub/menu.lst
 
Old 03-26-2010, 12:03 AM   #26
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
where does mint store its boot files ?
can you show us:
ll /boot
ll /boot/grub
 
Old 03-26-2010, 12:05 AM   #27
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kakaka View Post
If I'm thinking correctly, I'm expecting to find your menu.lst in your useless partition.

If in your useless partition you execute this command, what is the output?
Same thing "No such file or directory"
 
Old 03-26-2010, 12:07 AM   #28
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by schneidz View Post
where does mint store its boot files ?
can you show us:
ll /boot
ll /boot/grub
How can I show you?
 
Old 03-26-2010, 12:11 AM   #29
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
type in ll /boot and paste the output here:
and then type ll /boot/grub and paste that output here.

here's what mines looks like [fedora-11-live-usb]:
Code:
[liveuser@localhost ~]$ ll /boot
total 4968
-rw-r--r--. 1 root root   92325 2009-05-27 17:37 config-2.6.29.4-167.fc11.x86_64
drwxr-xr-x. 3 root root    4096 2009-06-04 15:50 efi
-rw-r--r--. 1 root root  118396 2009-04-24 15:19 elf-memtest86+-2.11
drwxr-xr-x. 2 root root    4096 2009-04-29 17:33 grub
-rw-r--r--. 1 root root  116720 2009-04-24 15:19 memtest86+-2.11
-rw-r--r--. 1 root root 1624707 2009-05-27 17:37 System.map-2.6.29.4-167.fc11.x86_64
-rwxr-xr-x. 1 root root 3118000 2009-05-27 17:37 vmlinuz-2.6.29.4-167.fc11.x86_64
 
Old 03-26-2010, 12:49 AM   #30
magic8ball88
LQ Newbie
 
Registered: Nov 2009
Distribution: Linux Mint 8
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by schneidz View Post
type in ll /boot and paste the output here:
and then type ll /boot/grub and paste that output here.

here's what mines looks like [fedora-11-live-usb]:
Code:
[liveuser@localhost ~]$ ll /boot
total 4968
-rw-r--r--. 1 root root   92325 2009-05-27 17:37 config-2.6.29.4-167.fc11.x86_64
drwxr-xr-x. 3 root root    4096 2009-06-04 15:50 efi
-rw-r--r--. 1 root root  118396 2009-04-24 15:19 elf-memtest86+-2.11
drwxr-xr-x. 2 root root    4096 2009-04-29 17:33 grub
-rw-r--r--. 1 root root  116720 2009-04-24 15:19 memtest86+-2.11
-rw-r--r--. 1 root root 1624707 2009-05-27 17:37 System.map-2.6.29.4-167.fc11.x86_64
-rwxr-xr-x. 1 root root 3118000 2009-05-27 17:37 vmlinuz-2.6.29.4-167.fc11.x86_64
It says command not found. I copied and pasted what you said.
 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 05:50 PM
Problems with /boot/grub/grub.conf not being read properly on reboots cmeyer Linux - Software 1 10-11-2008 07:34 PM
Problems with GRUB, not using whats in grub.conf **FIXED silentpetey Linux - General 1 11-06-2006 10:24 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
grub problems alaios Linux - Software 2 04-24-2003 12:07 PM


All times are GMT -5. The time now is 04:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration