NetAdminTools.com
 
SignalQ Sites:
L1G3R Information Systems - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Solar Energy - Energy Efficiency - Solar Panels
Home Energy Savings
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Installing GNU/Linux on a MacBook Intel Core 2 Duo - 5
Topic:GNU/Linux   Date: 2009-06-12
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Subject

1 | 2 | 3 | 4 | >5< | 6

You still with us? If you tuned in part way through this article, or happened to miss it, let us just say... Stop! Before you do anything, realize that you might just render your MacBook unbootable. Make sure you have a full backup and your original install DVDs. See this site's Terms of Use. When you are chrooted in, make sure that your fstab is accurate:

# filesystem   mount-point fs-type    options     dump    fsck-order
/dev/sda3     /           ext3  defaults    1       1
/dev/sda4     /nonic           vfat defaults    1       1
proc           /proc       proc       defaults    0       0

Here is the /etc/lilo.conf file we use:

boot = /dev/sda
prompt# always expect prompt
timeout = 150# wait 15 seconds
vga = normal# force sane state
delay = 30# delay 3 seconds if there is a stored command line
read-only# initailly mount roots r/o
default=linux
image = /boot/vmlinuz
  label = linux 
  append="root=/dev/sda3"

Run lilo:

root:~# lilo
Warning: LBA32 addressing assumed
Added linux *
One warning was issued.
root:~#

Your system should boot now if you restart and select the disk drive. The included kernel boots fine, but you might want to grab another copy of 2.6.29.4 and recompile with the /boot/config file. Here is what the procs look like in /proc/cpuinfo from the booted system:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz
stepping	: 6
cpu MHz		: 2400.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts 
acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl 
vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4788.22
clflush size	: 64
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz
stepping	: 6
cpu MHz		: 2400.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts 
acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl 
vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4788.23
clflush size	: 64
power management:

Here is the output from procinfo:

Linux 2.6.29.4 (root@(none) (gcc ) #T  2CPU [(none).(none)]

Memory:      Total        Used        Free      Shared     Buffers      
Mem:       2041132      123648     1917484           0        5576
Swap:            0           0           0

Bootup: Fri Jun 12 05:42:12 2009    Load average: 0.00 0.05 0.02 1/59 2375

user  :       0:00:22.29   1.7%  page in :        0
nice  :       0:00:00.00   0.0%  page out:        0
system:       0:00:06.46   0.5%  swap in :        0
idle  :       0:20:26.70  96.3%  swap out:        0
uptime:       0:10:36.72         context :   720577

irq  0:    159093 timer                 irq 18:      3604 ata_piix, uhci_hcd:u 
irq  9:      1725 acpi                  irq 20:        54 ehci_hcd:usb2, uhci_ 
irq 16:         0 uhci_hcd:usb4, uhci_  irq 21:     78895 ata_piix, ehci_hcd:u 

Kernel Command Line:
  BOOT_IMAGE=linux ro root=/dev/sda3


Character Devices:                      Block Devices:
  1 mem              10 misc            259 blkext           71 sd              
  2 pty              13 input             8 sd              128 sd              
  3 ttyp            128 ptm              11 sr              129 sd              
  4 /dev/vc/0       136 pts              65 sd              130 sd              
  4 tty             180 usb              66 sd              131 sd              
  5 /dev/tty        189 usb_device       67 sd              132 sd              
  5 /dev/console    202 cpu/msr          68 sd              133 sd              
  5 /dev/ptmx       203 cpu/cpuid        69 sd              134 sd              
  7 vcs             254 usb_endpoint     70 sd              135 sd              

File Systems:
[sysfs]             [rootfs]            [bdev]              [proc]              
[sockfs]            [pipefs]            [anon_inodefs]      [tmpfs]             
[inotifyfs]         [devpts]            ext3                ext2                
[ramfs]             vfat                iso9660    

We love Sander! We will always include procinfo!

1 | 2 | 3 | 4 | >5< | 6


People:
Places:
Things:
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2011 NetAdminTools.com